CVE-2025-34297
published high CVSS 4.0 · 8.6KissFFT Integer Overflow Heap Buffer Overflow via kiss_fft_alloc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mborgerding/kissfft | — | mborgerding/kissfft0 to < 1b08316582049c3716154caefc0deab8758506e3 · Other versions: unaffected · Platforms: 32 bit | Affected | Not stated | VulnCheck |
| Debian | bullseye | kissfft | Advisory build | 131.1.0-1+deb11u1 | DLA-4715-1 |
| Ubuntu | jammy | kissfft | Advisory build | 131.1.0-2ubuntu0.1~esm1 | USN-8745-1 |
| Ubuntu | jammy | kissfft-tools | Advisory build | 131.1.0-2ubuntu0.1~esm1 | USN-8745-1 |
| Ubuntu | jammy | libkissfft-float131 | Advisory build | 131.1.0-2ubuntu0.1~esm1 | USN-8745-1 |
| Ubuntu | noble | kissfft | Advisory build | 131.1.0-3ubuntu0.1~esm1 | USN-8745-1 |
| Ubuntu | noble | kissfft-tools | Advisory build | 131.1.0-3ubuntu0.1~esm1 | USN-8745-1 |
| Ubuntu | noble | libkissfft-float131 | Advisory build | 131.1.0-3ubuntu0.1~esm1 | USN-8745-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | resolute | kissfft | Advisory build | 131.1.0-4ubuntu0.1~esm1 | USN-8745-1 |
| Ubuntu | resolute | kissfft-tools | Advisory build | 131.1.0-4ubuntu0.1~esm1 | USN-8745-1 |
| Ubuntu | resolute | libkissfft-float131 | Advisory build | 131.1.0-4ubuntu0.1~esm1 | USN-8745-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mborgerding/kissfft | mborgerding/kissfft | 0 to < 1b08316582049c3716154caefc0deab8758506e3 (affected · git)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-190 CWE-190 Integer Overflow or Wraparound
References
3Provider assertions
2VulnCheck · cna
KissFFT Integer Overflow Heap Buffer Overflow via kiss_fft_alloc
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a4245b7c8fa5e4aac6aa0f693078694797f7c060c5efb6fc2f5d0110450a20f6
- Ingested
- 23 Sep 2026, 08:45:56 UTC
- Source record
- Official CVE record