CVE-2025-34297
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-12-01

Last updated on: 2025-12-01

Assigner: VulnCheck

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 affects 32-bit architectures.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-01
Last Modified
2025-12-01
Generated
2026-05-06
AI Q&A
2025-12-01
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
kissfft kissfft *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is an integer overflow in the kiss_fft_alloc() function of KissFFT versions before a specific fix. On 32-bit platforms, the nfft parameter is not properly validated before being used in a size calculation, which can cause the calculation to wrap around to a smaller value. This leads to malloc() allocating a buffer that is too small, and then a loop writes more data than the buffer can hold, causing a heap buffer overflow.


How can this vulnerability impact me? :

The heap buffer overflow caused by this vulnerability can lead to memory corruption, which may result in crashes, data corruption, or potentially allow an attacker to execute arbitrary code with the privileges of the affected application. This can compromise system stability and security on 32-bit architectures using vulnerable KissFFT versions.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart