KissFFT before commit 8a8e66e contains an integer overflow vulnerability in the kiss_fftndr_alloc() function in kiss_fftndr.c where the allocation siz...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Alpine:v3.23kissfft |
< 131.2.0_git20260422-r0→ 131.2.0_git20260422-r0 |
131.2.0_git20260422-r0 |
| Alpine:v3.24kissfft |
< 131.2.0_git20260422-r0→ 131.2.0_git20260422-r0 |
131.2.0_git20260422-r0 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security.alpinelinux.org