Bug 2418080 (CVE-2025-34297) - CVE-2025-34297 kissfft: KissFFT Integer Overflow Heap Buffer Overflow via kiss_fft_alloc
Summary: CVE-2025-34297 kissfft: KissFFT Integer Overflow Heap Buffer Overflow via kis...
Keywords:
Status: NEW
Alias: CVE-2025-34297
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2418139 2418141 2418142 2418143 2418144 2418145 2418146 2418147 2418148
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-01 19:01 UTC by OSIDB Bzimport
Modified: 2025-12-01 22:40 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-01 19:01:40 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.