Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-34297

CVE-2025-34297: KissFFT Buffer Overflow Vulnerability

CVE-2025-34297 is a heap buffer overflow in KissFFT caused by integer overflow in kiss_fft_alloc() on 32-bit platforms. This article covers the technical details, affected versions, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-34297 Overview

CVE-2025-34297 is a high-severity integer overflow vulnerability in KissFFT, a lightweight Fast Fourier Transform library. The vulnerability exists in the kiss_fft_alloc() function within 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.

Critical Impact

This integer overflow vulnerability can lead to heap buffer overflow, potentially enabling arbitrary code execution, denial of service, or memory corruption on 32-bit systems. The CVSS 4.0 score of 8.6 (HIGH) reflects the significant local attack surface with no privileges or user interaction required.

Affected Products

  • KissFFT versions prior to commit 1b083165
  • Applications using KissFFT on 32-bit architectures
  • Embedded systems and IoT devices utilizing KissFFT for FFT operations

Discovery Timeline

  • 2025-12-01 - CVE-2025-34297 published to NVD
  • 2025-12-02 - Last updated in NVD database

Technical Details for CVE-2025-34297

Vulnerability Analysis

The vulnerability is classified under CWE-190 (Integer Overflow or Wraparound). With a CVSS 4.0 score of 8.6, this vulnerability presents a high risk to affected systems. The CVSS vector 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 indicates:

  • Attack Vector: Local - requires local access to the vulnerable system
  • Attack Complexity: Low - exploitation is straightforward
  • Privileges Required: None - no special privileges needed
  • User Interaction: None - no user action required
  • Impact: High confidentiality, integrity, and availability impact

The EPSS (Exploit Prediction Scoring System) probability is 0.017% (3.241 percentile), suggesting a relatively low likelihood of exploitation in the wild at this time.

Root Cause

The root cause lies in the absence of integer overflow validation in the kiss_fft_alloc() function. When calculating the buffer size using sizeof(kiss_fft_cpx) * (nfft - 1), the multiplication can overflow on 32-bit platforms where size_t is limited to 4 bytes. If a malicious or unexpectedly large nfft value is provided, the calculation wraps around to a small positive number, causing malloc() to allocate insufficient memory. The subsequent loop that initializes twiddle factors then writes beyond the allocated buffer boundaries.

Attack Vector

An attacker with local access can exploit this vulnerability by providing a crafted nfft value to functions that ultimately call kiss_fft_alloc(). The attack specifically targets 32-bit systems where integer overflow is more easily achievable due to the 32-bit size_t constraint. Successful exploitation could result in:

  1. Heap corruption - Overwriting adjacent heap metadata or data
  2. Arbitrary code execution - Through controlled heap overwrites
  3. Denial of service - Application crash due to memory corruption
  4. Information disclosure - Reading memory beyond intended boundaries

The security patch adds overflow checking by including <stdint.h> to enable proper integer type validation:

c
  *  See COPYING file for more information.
  */
 
-
+#include <stdint.h>
 #include "_kiss_fft_guts.h"
 /* The guts header contains all the multiplication and addition macros that are defined for
  fixed or floating point complex numbers.  It also delares the kf_ internal functions.

Source: https://github.com/mborgerding/kissfft/commit/1b08316582049c3716154caefc0deab8758506e3

Detection Methods for CVE-2025-34297

Indicators of Compromise

  • Unexpected application crashes in FFT processing routines
  • Heap corruption errors or memory allocation failures in applications using KissFFT
  • Abnormal memory usage patterns in 32-bit applications performing FFT operations

Detection Strategies

  1. Static Code Analysis: Scan codebases for KissFFT library usage, particularly versions prior to commit 1b083165. Tools like CodeQL or Semgrep can identify vulnerable function calls.

  2. Binary Analysis: Check compiled binaries for KissFFT library linkage. On Linux systems, use ldd or nm to identify linked libraries.

  3. Version Detection: Audit software dependencies to identify KissFFT versions. Check if the library source includes the <stdint.h> header in kiss_fft.c.

  4. Runtime Monitoring: Monitor for heap corruption signals (SIGABRT, SIGSEGV) in applications performing FFT operations, especially on 32-bit systems.

Monitoring Recommendations

  • Implement memory sanitizers (AddressSanitizer, Valgrind) during development and testing phases
  • Deploy crash reporting mechanisms to detect potential exploitation attempts
  • Monitor system logs for repeated crashes in applications using FFT functionality
  • Use SentinelOne's behavioral AI to detect anomalous memory access patterns indicative of heap overflow exploitation

How to Mitigate CVE-2025-34297

Immediate Actions Required

  • Update KissFFT to include commit 1b08316582049c3716154caefc0deab8758506e3 or later
  • Audit all applications using KissFFT on 32-bit platforms
  • Consider migrating 32-bit applications to 64-bit architectures where feasible

Patch Information

The vulnerability has been addressed in the KissFFT repository through commit 1b083165. The fix adds proper integer overflow checking by including <stdint.h> and implementing validation of the nfft parameter before memory allocation.

Reference Links:

  • Fix Commit: https://github.com/mborgerding/kissfft/commit/1b08316582049c3716154caefc0deab8758506e3
  • Issue Tracker: https://github.com/mborgerding/kissfft/issues/120
  • Advisory: https://www.vulncheck.com/advisories/kissfft-integer-overflow-heap-buffer-overflow

Workarounds

If immediate patching is not possible, consider the following temporary mitigations:

  1. Input Validation: Implement bounds checking on nfft values before passing them to KissFFT functions
  2. Architecture Migration: Prioritize moving vulnerable 32-bit deployments to 64-bit platforms
  3. Memory Protection: Enable ASLR, stack canaries, and heap protection mechanisms at the OS level
bash
# Example: Check if application uses KissFFT on Linux
ldd /path/to/application | grep -i kiss

# Verify library version by checking for the fix
grep -r "stdint.h" /path/to/kissfft/kiss_fft.c

# Enable AddressSanitizer for testing (GCC/Clang)
export CFLAGS="-fsanitize=address -fno-omit-frame-pointer"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechKissfft

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-190
  • Technical References
  • Github

  • Github

  • Vulncheck
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English