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 affects 32-bit architectures.
CVSS
No CVSS.
References
Configurations
No configuration.
History
01 Dec 2025, 19:15
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2025-12-01 19:15
Updated : 2025-12-02 17:16
NVD link : CVE-2025-34297
Mitre link : CVE-2025-34297
CVE.ORG link : CVE-2025-34297
JSON object : View
Products Affected
No product.
CWE
CWE-190
Integer Overflow or Wraparound
