CVE-2025-34297

Source
https://cve.org/CVERecord?id=CVE-2025-34297
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-34297.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-34297
Downstream
Published
2025-12-01T18:18:15Z
Modified
2026-10-24T02:47:50Z
Severity
  • 8.6 (High) CVSS_V4 - 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 CVSS Calculator
Summary
KissFFT Integer Overflow Heap Buffer Overflow via kiss_fft_alloc
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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-190"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/34xxx/CVE-2025-34297.json"
}
References

Affected packages

Git / github.com/mborgerding/kissfft

Affected ranges

Type
GIT
Repo
https://github.com/mborgerding/kissfft
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1b08316582049c3716154caefc0deab8758506e3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "1b08316582049c3716154caefc0deab8758506e3"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

131.*
131.1.0
131.2.0
Other
v130
v131

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-34297.json"