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