mborgerding KissFFT kiss_fft.c kiss_fft_alloc nfft integer overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.1$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Integer overflow
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 302875
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-34297

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔒

Patch: 1b08316582049c3716154caefc0deab8758506e3

Timelineinfo

04/15/2025 CVE reserved
12/01/2025 +230 days Advisory disclosed
12/01/2025 +0 days VulDB entry created
03/19/2026 +108 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: 120
Researcher: Sajeeb Lohani
Status: Confirmed

CVE: CVE-2025-34297 (🔒)
GCVE (CVE): GCVE-0-2025-34297
GCVE (VulDB): GCVE-100-333906

Entryinfo

Created: 12/01/2025 23:23
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!