CVE-2025-34297

  • Severity 8.6 HIGH
  • Published
  • Updated
  • Status Deferred
  • EUVD 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
8.6 HIGH
LOCAL
LOW
NONE
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 4.0
EPSS Score
Percentile: 7.61%
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.2.0-2
fixed
trixie
131.1.0-4.1~deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
kissfft
jammy
Fixed 131.1.0-2ubuntu0.1~esm1
released
noble
Fixed 131.1.0-3ubuntu0.1~esm1
released
questing
ignored
resolute
Fixed 131.1.0-4ubuntu0.1~esm1
released
stonking
not-affected