PoC Monitor
← All CVEs
CVE-2025-34297published 1 Dec 2025 18:18 UTCData: JSON · API

Mborgerding/kissfft

KissFFT Integer Overflow Heap Buffer Overflow via kiss_fft_alloc

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.6high · scored by CNA · CWE-190
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

mborgerding/kissfft mborgerding/kissfft
  • < 1b08316582049c3716154caefc0deab8758506e3

Fixed in 1b08316582049c3716154caefc0deab8758506e3

Mitigation

Upgrade mborgerding/kissfft to 1b08316582049c3716154caefc0deab8758506e3 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published1 Dec 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.