Buffer overflow in Ffmpeg
CVE-2025-1594
A vulnerability, which was classified as critical, was found in FFmpeg up to 7.1. This affects the function ff_aac_search_for_tns of the file libavcodec/aacenc_tns.c of the component AAC Encoder. The manipulation leads to stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.006, 49.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ffmpeg
- Ffmpeg — versions 3.4.0, 3.4.1, 3.4.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (11notes/docker-paperless-ngx, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-296589 | FFmpeg AAC Encoder aacenc_tns.c ff_aac_search_for_tns stack-based overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-296589 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #496929 | FFmpeg git master stack-buffer-overflow (Third Party Advisory, VDB Entry, third-party-advisory)
- trac.ffmpeg.org/ticket/11418 (issue-tracking, Exploit, Issue Tracking, Vendor Advisory)
- trac.ffmpeg.org/attachment/ticket/11418/poc (issue-tracking, Exploit, exploit)
- ffmpeg.org/ (Product, product)