Skip to content
OpenAdvisories
Medium · 6.3 CVE-2025-1594 EUVD-2025-4406GHSA-37pp-xmcw-vg4w

FFmpeg AAC Encoder aacenc_tns.c ff_aac_search_for_tns stack-based overflow

Published Feb 23, 2025 · Updated Feb 24, 2025 · Assigned by VulDB

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.

Affected products

VendorProductAffectedFixed
— FFmpeg 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.4.4, 3.4.5, 3.4.6, 3.4.7, 3.4.8, 3.4.9, 3.4.10, 3.4.11, 3.4.12, 3.4.13, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 4.2.5, 4.2.6, 4.2.7, 4.2.8, 4.2.9, 4.2.10, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7, 4.3.8, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 5.1.0, 5.1.1, … —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ffmpeg 7:7.1.2-1 —
Debian 13 ffmpeg 7:7.1.2-0+deb13u1 DSA-6007-1
Debian 12 ffmpeg 7:5.1.8-0+deb12u1 DSA-6079-1
Debian 11 ffmpeg 7:4.3.9-0+deb11u2 DLA-4440-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 ffmpeg 7:7.1.1-1ubuntu4 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS ffmpeg 7:6.1.1-3ubuntu5+esm4 USN-7738-1
Ubuntu Pro 22.04 LTS ffmpeg 7:4.4.2-0ubuntu0.22.04.1+esm8 USN-7738-1
Ubuntu Pro 20.04 LTS ffmpeg 7:4.2.7-0ubuntu0.1+esm9 USN-7738-1
Ubuntu Pro 18.04 LTS ffmpeg 7:3.4.11-0ubuntu0.1+esm9 USN-7738-1
Ubuntu Pro 16.04 LTS ffmpeg 7:2.8.17-0ubuntu0.1+esm11 USN-7738-1
ReleasePackageFixed inAdvisory
SLES 15 SP7 ffmpeg-4 4.4.7-150600.13.47.1 SUSE-SU-2026:2445-1
SLES 15 SP4 ffmpeg-4 4.4.7-150400.3.67.1 SUSE-SU-2026:2444-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 ffmpeg-4 4.4.7-150400.3.67.1 SUSE-SU-2026:2444-1
SLE HPC 15 SP4 ffmpeg-4 4.4.7-150400.3.67.1 SUSE-SU-2026:2444-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ffmpeg-4 4.4.7-2.1 openSUSE-SU-2026:10866-1
openSUSE Tumbleweed ffmpeg-7 7.1.4-2.1 openSUSE-SU-2026:10867-1
openSUSE Tumbleweed ffmpeg-8 8.1.1-3.1 openSUSE-SU-2026:10890-1
openSUSE Tumbleweed ffmpeg-9 9.0.1-1.1 openSUSE-SU-2026:11515-1
openSUSE Leap 16.0 ffmpeg-7 7.1.4-160000.1.1 openSUSE-SU-2026:21211-1
ReleasePackageFixed inAdvisory
Alpine v3.24 ffmpeg 7.1.1-r0 —
Alpine v3.23 ffmpeg 7.1.1-r0 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling ffmpeg-7 7.1.1-r12 —

Advisories 12

References