CVE-2026-41445
8.8mborgerding · kissfft
An integer overflow in the kiss_fftndr_alloc function of KissFFT leads to a heap-based buffer overflow, potentially allowing for arbitrary memory corruption.
Executive summary
An integer overflow vulnerability in the KissFFT library allows unauthenticated attackers to trigger a heap buffer overflow, potentially leading to arbitrary code execution.
Vulnerability
This vulnerability involves an integer overflow during the allocation size calculation in the kiss_fftndr_alloc function, which fails to account for 32-bit signed integer limits. An unauthenticated attacker can supply crafted dimensions that result in an undersized buffer allocation, subsequently triggering a heap buffer overflow when the application processes data.
Business impact
The exploitation of this flaw can lead to severe system compromise, including potential remote code execution or application crashes, resulting in significant service downtime. Given the CVSS score of 8.8, this vulnerability is classified as High severity, reflecting its potential for total impact on confidentiality, integrity, and availability of the affected system.
Remediation
Immediate Action: Update the KissFFT library to commit 8a8e66e33d692bad1376fe7904d87d767730537f or later to incorporate the integer overflow fix.
Proactive Monitoring: Monitor application logs for unexpected crashes or segmentation faults, which may indicate attempted exploitation of heap memory errors.
Compensating Controls: Implement input validation routines to reject abnormally large or negative dimension values before they reach the KissFFT processing functions.
Exploitation status
Public Exploit Available: No
Analyst recommendation
The vulnerability poses a high risk to any application utilizing the KissFFT library for multidimensional real fast Fourier transforms. Organizations should prioritize updating their dependencies to the patched version immediately to prevent potential heap-based memory corruption and subsequent compromise of host systems.
Sources
Originally found and disclosed by Sajeeb Lohani, with VulnCheck (coordinator), per the CVE Program record.