{"id":"DEBIAN-CVE-2025-34297","details":"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.","modified":"2026-09-01T20:05:46.824271260Z","published":"2025-12-01T19:15:50.420Z","upstream":["CVE-2025-34297"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2025-34297"}],"affected":[{"package":{"name":"kissfft","ecosystem":"Debian:12","purl":"pkg:deb/debian/kissfft?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"131.1.0-4.1~deb12u1"}]}],"versions":["131.1.0-3","131.1.0-4"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-34297.json"}},{"package":{"name":"kissfft","ecosystem":"Debian:13","purl":"pkg:deb/debian/kissfft?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"131.1.0-4.1~deb13u1"}]}],"versions":["131.1.0-3","131.1.0-4","131.1.0-4.1~deb12u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-34297.json"}},{"package":{"name":"kissfft","ecosystem":"Debian:14","purl":"pkg:deb/debian/kissfft?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"131.1.0-4.1"}]}],"versions":["131.1.0-3","131.1.0-4","131.1.0-4.1~deb12u1","131.1.0-4.1~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-34297.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}