KissFFT Integer Overflow Heap Buffer Overflow via kiss_fft_alloc
CVE-2025-34297 is fixed in 8 products on 1 platform, first by DEBIAN-CVE-2025-34297, released December 1, 2025. It is not reported as exploited. Patch Radar priority: High.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| kiss-fft · Fedora 43 | 131.2.0-1.fc43 | FEDORA-2026-291357ABAB | Mar 9, 2026 |
| kiss-fft-debuginfo · Fedora 43 | 131.2.0-1.fc43 | FEDORA-2026-291357ABAB | Mar 9, 2026 |
| kiss-fft-debugsource · Fedora 43 | 131.2.0-1.fc43 | FEDORA-2026-291357ABAB | Mar 9, 2026 |
| kiss-fft-devel · Fedora 43 | 131.2.0-1.fc43 | FEDORA-2026-291357ABAB | Mar 9, 2026 |
| kiss-fft-static · Fedora 43 | 131.2.0-1.fc43 | FEDORA-2026-291357ABAB | Mar 9, 2026 |
| kissfft · Debian 12.15 (bookworm) | 131.1.0-4.1~deb12u1 | DEBIAN-CVE-2025-34297 | Dec 1, 2025 |
| kissfft · Debian 13.5 (trixie) | 131.1.0-4.1~deb13u1 | DEBIAN-CVE-2025-34297 | Dec 1, 2025 |
| kissfft · Debian 14 | 131.1.0-4.1 | DEBIAN-CVE-2025-34297 | Dec 1, 2025 |
| kissfft-tools · Ubuntu 22.04.1 LTS (jammy) | 131.1.0-2ubuntu0.1~esm1 | kissfft-tools 131.1.0-2ubuntu0.1~esm1 | Apr 20, 2026 |
| kissfft-tools · Ubuntu 24.04.5 LTS (noble) | 131.1.0-3ubuntu0.1~esm1 | kissfft-tools 131.1.0-3ubuntu0.1~esm1 | Apr 20, 2026 |
| kissfft-tools · Ubuntu 26.04.1 LTS (resolute) | 131.1.0-4ubuntu0.1~esm1 | kissfft-tools 131.1.0-4ubuntu0.1~esm1 | Apr 20, 2026 |
| libkissfft-float131 · Ubuntu 22.04.1 LTS (jammy) | 131.1.0-2ubuntu0.1~esm1 | libkissfft-float131 131.1.0-2ubuntu0.1~esm1 | Apr 20, 2026 |
| libkissfft-float131 · Ubuntu 24.04.5 LTS (noble) | 131.1.0-3ubuntu0.1~esm1 | libkissfft-float131 131.1.0-3ubuntu0.1~esm1 | Apr 20, 2026 |
| libkissfft-float131 · Ubuntu 26.04.1 LTS (resolute) | 131.1.0-4ubuntu0.1~esm1 | libkissfft-float131 131.1.0-4ubuntu0.1~esm1 | Apr 20, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.