Vulnerability · Published Feb 23, 2025 · Assigned by VulDB

CVE-2025-1594FFmpeg AAC Encoder aacenc_tns.c ff_aac_search_for_tns stack-based overflow

Medium 6.3

In plain English

A medium-severity stack buffer overflow in FFmpeg. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.6%top 51.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23ffmpeg7.1.1-r0, 8.0-r0ALPINE-CVE-2025-1594
Alpine:v3.24ffmpeg7.1.1-r0, 8.0-r0ALPINE-CVE-2025-1594
Debian:12ffmpeg7:5.1.8-0+deb12u1DSA-6079-1
Debian:12ffmpeg7:5.1.8-0+deb12u1DEBIAN-CVE-2025-1594
Debian:13ffmpeg7:7.1.2-0+deb13u1DEBIAN-CVE-2025-1594
Debian:13ffmpeg7:7.1.2-0+deb13u1DSA-6007-1
Debian:14ffmpeg7:7.1.2-1DEBIAN-CVE-2025-1594
Ubuntu:25.10ffmpeg7:7.1.1-1ubuntu4UBUNTU-CVE-2025-1594

Affected products (as reported)

VendorProductVersions
n/a FFmpeg 3.4.03.4.13.4.23.4.33.4.43.4.53.4.63.4.7

Weakness: CWE-121, CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

References