Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCraft input with oversized FFT dimensions
-
DeliverySubmit to application endpoint (upload/API call)
-
ExploitTrigger kiss_fftndr_alloc() integer overflow
-
InstallUndersized buffer allocated
-
C2kiss_fftndr() writes beyond buffer
-
ExecuteHeap metadata corruption
-
ImpactControl program execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Application must use KissFFT's kiss_fftndr_alloc() function for N-dimensional real FFTs (multidimensional FFT operations), not the standard 1D kiss_fft_alloc(). Attacker must control or influence the dimOther and dimReal dimension parameters passed to the allocation function, typically via file format metadata (audio/video container headers), API parameters (scientific computing services), or protocol fields (SDR data streams). Exploitation requires 32-bit platforms or applications using 32-bit integer types for dimension calculations even on 64-bit systems. The library is often statically linked, so vulnerable code paths exist only if the application performs multidimensional FFTs on untrusted input. User interaction (UI:R) indicates victim must trigger processing (upload file, open document, invoke API call). No authentication required (PR:N) if the FFT functionality is exposed to unauthenticated endpoints. |
| Impact | Real-world risk depends heavily on application integration patterns. CVSS vector (AV:N/AC:L/PR:N/UI:R) indicates network-accessible exploitation with low complexity but requires user interaction, suggesting the vulnerable application must process attacker-supplied FFT parameters (e.g., audio/video processing services, scientific computing APIs accepting user-uploaded data). The high CIA impact (C:H/I:H/A:H) reflects heap corruption's potential for arbitrary code execution, information disclosure, and denial of service. However, UI:R substantially reduces automatable mass exploitation risk compared to UI:N vulnerabilities. Without EPSS data, exploitation probability cannot be quantified, but the specific nature of crafting integer overflow conditions (requires understanding of target platform's INT_MAX and sizeof(kiss_fft_scalar)) suggests targeted rather than opportunistic exploitation. No CISA KEV listing indicates no confirmed active exploitation campaigns. The narrow attack surface (applications using multidimensional real FFTs with attacker-controlled dimensions) limits exposure compared to ubiquitous libraries. Priority should focus on internet-facing services processing untrusted multimedia or scientific data; embedded systems with fixed FFT dimensions face negligible risk. |
| Exploit ScenarioDerived | Attacker uploads a crafted WAV audio file to a web-based audio processing service that uses KissFFT for spectral analysis. The file's metadata specifies FFT dimensions dimOther=65536 and dimReal=65536, causing the multiplication to overflow and allocate only 16KB instead of the required 34GB buffer. When the service calls kiss_fftndr() to process the file, FFT coefficient writes overflow the heap, corrupting a subsequent object pointer. Attacker controls the overwritten data to redirect execution to injected shellcode in the audio sample data, achieving remote code execution in the service's context. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 20, 2026
Heap buffer overflow in KissFFT library (all versions before commit 8a8e66e) enables remote code execution when applications process attacker-controlled FFT dimensions. Integer overflow in kiss_fftndr_alloc() causes malloc() to allocate undersized buffers, allowing heap memory corruption during multidimensional FFT operations. CVSS 8.8 (network vector, no authentication, user interaction required). EPSS and KEV data not provided; no public exploit confirmed at time of analysis. Upstream fix available via GitHub commit, but released patched version number not independently confirmed.
RemediationAI
Upstream fix available via GitHub commit 8a8e66e33d692bad1376fe7904d87d767730537f (https://github.com/mborgerding/kissfft/commit/8a8e66e33d692bad1376fe7904d87d767730537f), which adds overflow checks before size_t conversion. Applications statically linking KissFFT must rebuild against the patched source. Since KissFFT does not publish versioned releases (development occurs via Git commits), integrators should verify their embedded copy is at or beyond commit 8a8e66e by checking git log or source file checksums. For systems unable to update immediately, implement input validation on FFT dimension parameters: reject dimOther and dimReal values where dimOther * (dimReal + 2) * sizeof(kiss_fft_scalar) would exceed INT_MAX on the target platform (typically dimOther * dimReal > 500 million on 32-bit systems with 4-byte scalars). This workaround reduces functionality for legitimate large-scale FFT operations. Additionally, deploy heap corruption mitigations (ASLR, heap allocator hardening) to raise exploitation cost, though these do not prevent the vulnerability. Applications using only 1D FFTs (kiss_fft_alloc) or complex FFTs (kiss_fftnd_alloc) are not affected by this specific issue in kiss_fftndr.c.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
KissFFT is a widely-used Fast Fourier Transform library (cpe:2.3:a:mborgerding:kissfft) designed for embedded systems and signal processing applications. The vulnerability resides in kiss_fftndr.c's allocation function for N-dimensional real FFTs. The function calculates buffer size as dimOther*(dimReal+2)*sizeof(kiss_fft_scalar) using signed 32-bit arithmetic. When dimOther and dimReal are sufficiently large, their multiplication exceeds INT_MAX (2,147,483,647), causing integer wraparound before the result is widened to size_t for malloc(). This CWE-190 (Integer Overflow to Buffer Overflow) root cause results in a heap buffer that is orders of magnitude smaller than required. Subsequent kiss_fftndr() processing writes FFT coefficient data based on the original (large) dimensions into the undersized buffer, corrupting adjacent heap metadata and objects.
Know when Kissfft gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
3DescriptionCVE.org
KissFFT before commit 8a8e66e contains an integer overflow vulnerability in the kiss_fftndr_alloc() function in kiss_fftndr.c where the allocation size calculation dimOther*(dimReal+2)*sizeof(kiss_fft_scalar) overflows signed 32-bit integer arithmetic before being widened to size_t, causing malloc() to allocate an undersized buffer. Attackers can trigger heap buffer overflow by providing crafted dimensions that cause the multiplication to exceed INT_MAX, allowing writes beyond the allocated buffer region when kiss_fftndr() processes the data.
Executive ViewAI
CVE-2026-41445 is a critical heap buffer overflow in the KissFFT library that allows remote code execution when processing untrusted FFT dimension data. Any organization using KissFFT in signal processing, audio, or scientific computing applications faces potential compromise of affected systems without immediate patching.
If patched version unavailable for critical applications: Implement network segmentation to restrict FFT processing services to trusted internal networks only; add input validation to reject abnormally large or malformed FFT dimension parameters; disable or restrict access to affected functionality until patched version is available from vendor.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Same weakness CWE-190 – Integer Overflow or Wraparound
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| openSUSE Tumbleweed | Fixed |
EUVD-2026-23905
GHSA-xpr7-5899-f5vj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB