mborgerding KissFFT kiss_fft.c kiss_fft_alloc nfft integer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in mborgerding KissFFT. It has been declared as problematic. Affected by this issue is the function kiss_fft_alloc of the file kiss_fft.c. The manipulation of the argument nfft results in integer overflow.
This vulnerability is identified as CVE-2025-34297. The attack is only possible with local access. There is not any exploit available.
A patch should be applied to remediate this issue.
Details
A vulnerability was found in mborgerding KissFFT (version now known). It has been classified as problematic. Affected is the function kiss_fft_alloc of the file kiss_fft.c. The manipulation of the argument nfft with an unknown input leads to a integer overflow vulnerability. CWE is classifying the issue as CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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.
The weakness was released by Sajeeb Lohani as 120. The advisory is available at github.com. This vulnerability is traded as CVE-2025-34297 since 04/15/2025. The exploitability is told to be easy. Local access is required to approach this attack. Technical details are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 302875 (Linux Distros Unpatched Vulnerability : CVE-2025-34297), which helps to determine the existence of the flaw in a target environment.
Applying the patch 1b08316582049c3716154caefc0deab8758506e3 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the vulnerability database at Tenable (302875). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Vendor
Name
License
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Integer overflowCWE: CWE-190 / CWE-189
CAPEC: 🔒
ATT&CK: 🔒
Physical: Partially
Local: Yes
Remote: No
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 302875
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-34297
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔒
Patch: 1b08316582049c3716154caefc0deab8758506e3
Timeline
04/15/2025 CVE reserved12/01/2025 Advisory disclosed
12/01/2025 VulDB entry created
03/19/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 120
Researcher: Sajeeb Lohani
Status: Confirmed
CVE: CVE-2025-34297 (🔒)
GCVE (CVE): GCVE-0-2025-34297
GCVE (VulDB): GCVE-100-333906
Entry
Created: 12/01/2025 23:23Updated: 03/19/2026 02:39
Changes: 12/01/2025 23:23 (70), 03/19/2026 02:39 (2)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.