CVE-2026-41445

KissFFT Integer Overflow Heap Buffer Overflow via kiss_fftndr_alloc()

State
Published
Severity
8.7 High
Published
Apr 20, 2026
Updated
Jul 14, 2026
Reserved
Apr 20, 2026

Read the record on cve.org

Description

KissFFT before commit 8a8e66e contains an integer overflow vulnerability in the kiss_fftndr_alloc() function in kiss_fftndr.c where the allocation size calculation dimOther*(dimReal+2)*sizeof(kiss_fft_scalar) overflows signed 32-bit integer arithmetic before being widened to size_t, causing malloc() to allocate an undersized buffer. Attackers can trigger heap buffer overflow by providing crafted dimensions that cause the multiplication to exceed INT_MAX, allowing writes beyond the allocated buffer region when kiss_fftndr() processes the data.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HVulnCheck

Weaknesses

  • CWE-190 Integer Overflow or Wraparound
  • CWE-122 Heap-based Buffer Overflow

Affected Products

ProductVersions
kissfftmborgerding
  • before 8a8e66e33d692bad1376fe7904d87d767730537fAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.