Skip to content
Fencer Vulns
medium 6.3

CVE-2025-1594 json

FFmpeg AAC Encoder aacenc_tns.c ff_aac_search_for_tns stack-based overflow

published 2025-02-23 20 mo ago modified 2026-07-23 3 mo ago also EUVD-2025-4406 , JLSEC-2025-151

cvss
6.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 48%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia FFMPEG_jll 7.1.1+0
  • julia FFplay_jll 7.1.1+0
  • ffmpeg ffmpeg 7.1.2
  • ffmpeg Debian 12 7:5.1.8-0+deb12u1
  • ffmpeg Debian 13 7:7.1.2-0+deb13u1
  • ffmpeg Debian 14 7:7.1.2-1

debian advisories DEBIAN-CVE-2025-1594

  • ffmpeg Ubuntu 25.10 7:7.1.1-1ubuntu4
  • ffmpeg Ubuntu Pro 16.04 LTS 7:2.8.17-0ubuntu0.1+esm11
  • ffmpeg Ubuntu Pro 18.04 LTS 7:3.4.11-0ubuntu0.1+esm9
  • ffmpeg Ubuntu Pro 20.04 LTS 7:4.2.7-0ubuntu0.1+esm9
  • ffmpeg Ubuntu Pro 22.04 LTS 7:4.4.2-0ubuntu0.22.04.1+esm8
  • ffmpeg Ubuntu Pro 24.04 LTS 7:6.1.1-3ubuntu5+esm4

ubuntu advisories UBUNTU-CVE-2025-1594

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ffmpeg-4 SLE Workstation Extension 15 SP7, SLE Module for Package Hub 15 SP7 4.4.7-150600.13.47.1
  • ffmpeg-4 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 4.4.7-150400.3.67.1

suse advisories SUSE-SU-2026:2445-1SUSE-SU-2026:2444-1

  • ffmpeg-9 openSUSE Tumbleweed 9.0.1-1.1
  • ffmpeg-7 openSUSE Leap 16.0 7.1.4-160000.1.1
  • ffmpeg-8 openSUSE Tumbleweed 8.1.1-3.1
  • ffmpeg-4 openSUSE Tumbleweed 4.4.7-2.1
  • ffmpeg-7 openSUSE Tumbleweed 7.1.4-2.1

opensuse advisories openSUSE-SU-2026:11515-1openSUSE-SU-2026:21211-1openSUSE-SU-2026:10890-1openSUSE-SU-2026:10866-1openSUSE-SU-2026:10867-1

  • ffmpeg Alpine 3.24, Alpine 3.23 7.1.1-r0
  • ffmpeg Alpine 3.24, Alpine 3.23 8.0-r0

alpine advisories ALPINE-CVE-2025-1594

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-1594 updated cvss 6.3

ffmpeg: FFmpeg AAC Encoder aacenc_tns.c ff_aac_search_for_tns stack-based overflow

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
20 mo ago

Exploit prediction

0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • trac.ffmpeg.org https://trac.ffmpeg.org/attachment/ticket/11418/poc referenced PoC, tagged "exploit" by a source, unverified
  • trac.ffmpeg.org https://trac.ffmpeg.org/ticket/11418#comment:3 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 5.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
CNA 3.1 6.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
CNA 3.0 6.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
CNA 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
CNA 4.0 5.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV 3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
julia FFMPEG_jll
<7.1.1+0
7.1.1+0
julia FFplay_jll
<7.1.1+0
7.1.1+0

Affected products

  • n/a FFmpeg

Classification

Weakness
  • CWE-121 Stack-based Buffer Overflow
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-787 Out-of-bounds Write

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Add affected version ranges.