CVE-2025-34297

EUVD-2025-200096
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
UNKNOWN
---
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 6.05%
Debian logo
Debian Releases
Debian Product
Codename
kissfft
bookworm
131.1.0-4.1~deb12u1
fixed
forky
131.1.0-4.1
fixed
sid
131.1.0-4.1
fixed
trixie
131.1.0-4.1~deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
kissfft
jammy
needs-triage
noble
needs-triage
questing
ignored
resolute
needs-triage