---
cve: "CVE-2025-34297"
severity: "HIGH"
cvss: 8.6
epss: "16%"
vendor: "mborgerding/kissfft"
kev: false
exploited: false
published: "2025-12-01 19:15:50"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-15T09:03:59+02:00"
---

# CVE-2025-34297

> 8.6 HIGH · 🧪 PoC

## Beschreibung

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.

## CVSS-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Lokal | good |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 1b08316582049c3716154caefc0deab8758506e3 (Commit)

## Referenzen

- <https://github.com/mborgerding/kissfft/commit/1b08316582049c3716154caefc0deab8758506e3>
- <https://github.com/mborgerding/kissfft/issues/120>
- <https://www.vulncheck.com/advisories/kissfft-integer-overflow-heap-buffer-overflow>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2025-34297) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
