CVE-2025-1594 FFmpeg AAC Encoder aacenc_tns.c ff_aac_search_for_tns stack-based overflow
MediumCVSS 5.3
EPSS 0.60%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
8 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/ffmpeg(Alpine v3.23) | < 7.1.1-r0; < 8.0-r0 | 7.1.1-r0, 8.0-r0 | Fixed |
| alpine/ffmpeg(Alpine v3.24) | < 7.1.1-r0; < 8.0-r0 | 7.1.1-r0, 8.0-r0 | Fixed |
| debian/ffmpeg(Debian 12) | < 7:5.1.8-0+deb12u1; = 7:5.1.3-1; = 7:5.1.3-2; = 7:5.1.4-0+deb12u1 +3 more | 7:5.1.8-0+deb12u1 | Fixed |
| debian/ffmpeg(Debian 13) | < 7:7.1.2-0+deb13u1; = 7:7.1.1-1 | 7:7.1.2-0+deb13u1 | Fixed |
| debian/ffmpeg(Debian 14) | < 7:7.1.2-1; = 7:7.1.1-1 | 7:7.1.2-1 | Fixed |
| ffmpeg/ffmpeg | <= 7.1 | after 7.1 | Fixed |
| ubuntu/ffmpeg(Ubuntu 22.04) | < 7:4.4.2-0ubuntu0.22.04.1+esm8 | 7:4.4.2-0ubuntu0.22.04.1+esm8 | Fixed |
| ubuntu/ffmpeg(Ubuntu 24.04) | < 7:6.1.1-3ubuntu5+esm4 | 7:6.1.1-3ubuntu5+esm4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/ffmpeg(Debian:12) | < 7:5.1.8-0+deb12u1 | 7:5.1.8-0+deb12u1 |
| debian/ffmpeg(Debian:12) | = 7:5.1.3-1 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.3-2 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.4-0+deb12u1 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.5-0+deb12u1 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.6-0+deb12u1 | No fix listed |
| debian/ffmpeg(Debian:12) | = 7:5.1.7-0+deb12u1 | No fix listed |
| debian/ffmpeg(Debian:13) | < 7:7.1.2-0+deb13u1 | 7:7.1.2-0+deb13u1 |
| debian/ffmpeg(Debian:13) | = 7:7.1.1-1 | No fix listed |
| debian/ffmpeg(Debian:14) | < 7:7.1.2-1 | 7:7.1.2-1 |
| debian/ffmpeg(Debian:14) | = 7:7.1.1-1 | No fix listed |
| ubuntu/ffmpeg(Ubuntu:22.04) | < 7:4.4.2-0ubuntu0.22.04.1+esm8 | 7:4.4.2-0ubuntu0.22.04.1+esm8 |
| alpine/ffmpeg(Alpine:v3.23) | < 7.1.1-r0 | 7.1.1-r0 |
| alpine/ffmpeg(Alpine:v3.23) | < 8.0-r0 | 8.0-r0 |
| alpine/ffmpeg(Alpine:v3.24) | < 7.1.1-r0 | 7.1.1-r0 |
| alpine/ffmpeg(Alpine:v3.24) | < 8.0-r0 | 8.0-r0 |
| ubuntu/ffmpeg(Ubuntu:24.04) | < 7:6.1.1-3ubuntu5+esm4 | 7:6.1.1-3ubuntu5+esm4 |
| ffmpeg/ffmpeg | <= 7.1 | No fix listed |
References
- Debian Security Tracker CVE-2025-1594 vendor-advisory
- VDB-296589 | FFmpeg AAC Encoder aacenc_tns.c ff_aac_search_for_tns stack-based overflow technical-description third-party-advisory vdb-entry
- VDB-296589 | CTI Indicators (IOB, IOC, IOA) permissions-required signature vdb-entry
- Submit #496929 | FFmpeg git master stack-buffer-overflow third-party-advisory vdb-entry
- trac.ffmpeg.org exploit issue-tracking vendor-advisory
- trac.ffmpeg.org exploit issue-tracking
- ffmpeg.org product
- Ubuntu CVE tracker vendor-advisory
- USN-7738-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory