CVE-2025-34297 漏洞深度分析

漏洞概述

CVE 编号: CVE-2025-34297
CVSS 评分: 8.6(HIGH)
CVSS 向量: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE 分类: CWE-190
漏洞状态: Deferred
发布时间: 2025-12-01T19:15:50.420
最后更新: 2026-07-14T23:17:22.917

漏洞描述

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.

影响分析

此漏洞的具体影响取决于实际利用场景。"

修复建议

  1. 及时关注厂商发布的安全更新和补丁
  2. 升级受影响组件到最新版本
  3. 如无法立即升级,参考厂商提供的临时缓解措施
  4. 加强网络访问控制和监控

参考链接

  1. https://github.com/mborgerding/kissfft/commit/1b08316582049c3716154caefc0deab8758506e3
  2. https://github.com/mborgerding/kissfft/issues/120
  3. https://www.vulncheck.com/advisories/kissfft-integer-overflow-heap-buffer-overflow