CVE-2025-34297CWE-190

CVE-2025-34297

published December 2, 2025

CVSS
8.6
EPSS
0%
Percentile
5.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
8.6 · NONE
CVSS v4.0
Not supplied
EPSS
0.00165 · 5.5th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2025-12-02T00:15Z
References (3)
EPSS history
Timeline
  • 01 DEC 18:18Z
    KissFFT Integer Overflow Heap Buffer Overflow via kiss_fft_alloc
    cvelistv5