{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-34297","id":"CVE-2025-34297","title":"KissFFT Integer Overflow Heap Buffer Overflow via kiss_fft_alloc","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","descriptionLong":"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.","published":"2025-12-01T18:18:15.156Z","updated":"2026-10-28T10:59:09.693555874Z","reserved":"2025-04-15T19:15:22.582Z","status":"Deferred","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.6,"vector":"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","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.6,"vector":"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","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.6,"vector":"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","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"}],"rating":"high","products":["mborgerding/kissfft"],"affectedProducts":[{"vendor":"mborgerding/kissfft","product":"mborgerding/kissfft","defaultStatus":"unaffected","versions":[{"lessThan":"1b08316582049c3716154caefc0deab8758506e3","status":"affected","version":"0","versionType":"git"}],"platforms":["32 bit"]}],"packages":[],"cwes":["CWE-190"],"aliases":[],"references":[{"url":"https://github.com/mborgerding/kissfft/commit/1b08316582049c3716154caefc0deab8758506e3","tags":["patch","fix"]},{"url":"https://github.com/mborgerding/kissfft/issues/120","tags":["issue-tracking","report"]},{"url":"https://www.vulncheck.com/advisories/kissfft-integer-overflow-heap-buffer-overflow","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/34xxx/CVE-2025-34297.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-34297","tags":["advisory"]},{"url":"https://github.com/mborgerding/kissfft","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00177,"epssPercentile":0.07498,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-34297","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-34297","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-34297","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-34297","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}