Heap-based Buffer Overflow Affecting kissfft package, versions <131.1.0-4.1~deb13u1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.29% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-KISSFFT-22587043
  • published18 Nov 2026
  • disclosed20 Apr 2026

Introduced: 20 Apr 2026

CVE-2026-41445  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Echo:latest kissfft to version 131.1.0-4.1~deb13u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kissfft package and not the kissfft package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1