LiveActive security incident?Get immediate response
CVE Record

CVE-2025-34297: KissFFT Integer Overflow Heap Buffer Overflow via kiss_fft_alloc

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.

HighCVSS 8.6Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2025-34297 is a memory corruption flaw in KissFFT on 32-bit platforms. A very large FFT size can make allocation math wrap, creating a too-small heap buffer that later gets overwritten. This matters most where KissFFT is embedded in products processing attacker-influenced signal, audio, or scientific data sizes.

Executive priority

Prioritize remediation for 32-bit products or appliances that process user-supplied data through KissFFT. Deprioritize confirmed 64-bit-only deployments, but still inventory vendored copies because downstream packaging may obscure exposure.

Technical view

In kiss_fft_alloc(), nfft is not validated before sizeof(kiss_fft_cpx) * (nfft - 1). On 32-bit size_t platforms, large nfft values can overflow allocation sizing. malloc() can return an undersized buffer, while twiddle initialization writes nfft elements, causing heap overflow. Sources identify fix commit 1b083165.

Likely exposure

Exposure appears limited to 32-bit architectures using KissFFT versions before commit 1b083165, especially applications that let local users or input files influence nfft. The provided data does not identify specific downstream products, packages, or release versions beyond the upstream repository.

Exploitation context

The CVSS vector is local, low complexity, no privileges, and no user interaction. The source bundle says KEV is false and provides no evidence of active exploitation. Treat exploitation status as unconfirmed, not actively exploited.

Researcher notes

The key condition is 32-bit size_t plus attacker-influenced large nfft. The affected-version data in the bundle is sparse, so avoid assuming package names or release ranges. Analysis should focus on commit presence, architecture, and call paths into kiss_fft_alloc().

Mitigation direction

  • Update KissFFT to include commit 1b083165 or a vendor release containing it.
  • Inventory embedded or vendored KissFFT copies in 32-bit builds.
  • Check vendor guidance for downstream packages using KissFFT.
  • Restrict untrusted control over FFT sizes where immediate updating is unavailable.

Validation and detection

  • Confirm whether any deployed build uses 32-bit size_t.
  • Search source and dependencies for vendored mborgerding/kissfft copies.
  • Verify kiss_fft_alloc() includes the upstream bounds fix from commit 1b083165.
  • Review tests or callers that pass untrusted nfft values into KissFFT.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-190: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-34297 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.6 (4.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.6CVSS 4.0HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck

Vulnerability scoring details

Base CVSS 4.0 score

8.6High
CVSS 4.0 vector shape for CVE-2025-34297Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
mborgerding/kissfftmborgerding/kissfft0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-190 · source CWE mapping

Integer Overflow or Wraparound

Integer Overflow or Wraparound represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.