CVE-2025-34297Integer Overflow or Wraparound in Kissfft Mborgerding Kissfft

Severity
8.6HIGHNVD
EPSS
0.0%
top 93.26%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 1
Latest updateDec 9

Description

KissFFT versions prior to the fix commit 1b083165 contain an integer overflow in kiss_fft_alloc() in kiss_fft.c on platforms where size_t is 32-bit. The nfft parameter is not validated before being used in a size calculation (sizeof(kiss_fft_cpx) * (nfft - 1)), which can wrap to a small value when nfft is large. As a result, malloc() allocates an undersized buffer and the subsequent twiddle-factor initialization loop writes nfft elements, causing a heap buffer overflow. This vulnerability only a

CVSS vector

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected Packages4 packages

🔴Vulnerability Details

2
GHSA
GHSA-4q9h-j8g6-f49h: KissFFT versions prior to the fix commit 1b083165 contain an integer overflow in kiss_fft_alloc() in kiss_fft2025-12-01
OSV
CVE-2025-34297: KissFFT versions prior to the fix commit 1b083165 contain an integer overflow in kiss_fft_alloc() in kiss_fft2025-12-01

📋Vendor Advisories

2
Microsoft
KissFFT Integer Overflow Heap Buffer Overflow via kiss_fft_alloc2025-12-09
Debian
CVE-2025-34297: kissfft - KissFFT versions prior to the fix commit 1b083165 contain an integer overflow in...2025
CVE-2025-34297 — Integer Overflow or Wraparound | cvebase