Vulnerability

CVE-2025-34297

highCVSS 4.0 8.6Published 1 Dec 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /mborgerding/kissfft/commit/1b08316582049c3716154caefc0deab…
  • github.com /mborgerding/kissfft/issues/120
  • www.vulncheck.com /advisories/kissfft-integer-overflow-heap-buffer-overflow

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning