Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| mborgerding | kissfft | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | kissfft | 131.1.0-4.1 | — |
| Debian 13 | kissfft | 131.1.0-4.1~deb13u1 | — |
| Debian 12 | kissfft | 131.1.0-4.1~deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | kissfft | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | kissfft | 131.1.0-4ubuntu0.1~esm1 | USN-8745-1 |
| Ubuntu Pro 24.04 LTS | kissfft | 131.1.0-3ubuntu0.1~esm1 | USN-8745-1 |
| Ubuntu Pro 22.04 LTS | kissfft | 131.1.0-2ubuntu0.1~esm1 | USN-8745-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | kissfft | 131.2.0-2.1 | openSUSE-SU-2026:10591-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | kissfft | 131.2.0_git20260422-r0 | — |
| Alpine v3.23 | kissfft | 131.2.0_git20260422-r0 | — |
Advisories 2
- USN-8745-1 kissfft vulnerabilities Ubuntu Security Notices (USN) · Sep 10, 2026
- openSUSE-SU-2026:10591-1 kissfft-131.2.0-2.1 on GA media SUSE / openSUSE Security Updates · Apr 22, 2026