CVE-2025-34297

High

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.

SeverityHigh
CVSS8.6
Exploit probability—
ProductMborgerding/kissfft
PublishedDec 1, 2025
First seenDec 1, 2025

How to fix

Update
  • mborgerding/kissfft mborgerding/kissfft1b08316582049c3716154caefc0deab8758506e3 or later

Affected products

ProductAffected versionsFixed in
mborgerding/kissfft mborgerding/kissfftv < 1b08316582049c3716154caefc0deab8758506e31b08316582049c3716154caefc0deab8758506e3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.