Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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