# CVE-2025-1594: FFmpeg AAC Encoder aacenc\_tns.c ff\_aac\_search\_for\_tns stack-based overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-02-23 · Modified: 2025-02-24
- Aliases: UBUNTU-CVE-2025-1594, USN-7738-1, DEBIAN-CVE-2025-1594, CGA-3644-pm9h-h3fx, CGA-mw6x-4qq5-j5q7, CGA-77wh-g8m8-x45j, CGA-8fq4-c7w2-8jj3, CGA-9p4c-w42w-fvfm, CGA-g27w-98mc-3599, CGA-jvq8-6829-8rf7, CGA-m53x-qc65-w4v4, CGA-q85w-9v64-98g2, CGA-vf8v-pq4w-86c5, ALPINE-CVE-2025-1594
- Record: https://cvemate.com/vulnerability/CVE-2025-1594 · JSON: https://cvemate.com/vulnerability/CVE-2025-1594/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.609%, percentile 50.626%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (reference)

## Affected

- alpine ffmpeg (Alpine Linux): \< 8.0-r0
- chainguard eco-python-ffmpeg-6-minimal (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-6-minimal-dev (Chainguard): All versions (No fix recorded)
- chainguard eco-python-ffmpeg-6-minimal-static (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-6 (Chainguard): All versions (No fix recorded)
- chainguard ffmpeg-7 (Chainguard): \< 7.1.1-r12
- wolfi ffmpeg-7 (Wolfi): \< 7.1.1-r12
- debian ffmpeg (Debian): \< 7:5.1.8-0+deb12u1 \| \< 7:7.1.2-0+deb13u1 \| \< 7:7.1.2-1
- ubuntu ffmpeg (Ubuntu): \< 7:2.8.17-0ubuntu0.1+esm11 \| \< 7:3.4.11-0ubuntu0.1+esm9 \| \< 7:4.2.7-0ubuntu0.1+esm9 \| \< 7:4.4.2-0ubuntu0.22.04.1+esm8 \| \< 7:6.1.1-3ubuntu5+esm4 \| \< 7:7.1.1-1ubuntu4
- ffmpeg ffmpeg: ≤ 7.1

## References

- <https://vuldb.com/?id.296589>
- <https://vuldb.com/?ctiid.296589>
- <https://vuldb.com/?submit.496929>
- <https://trac.ffmpeg.org/ticket/11418#comment:3>
- <https://trac.ffmpeg.org/attachment/ticket/11418/poc>
- <https://ffmpeg.org/>
- <https://ubuntu.com/security/CVE-2025-1594>
- <https://www.cve.org/CVERecord?id=CVE-2025-1594>
- <https://ubuntu.com/security/notices/USN-7738-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-1594>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1594.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-1594>
- <https://security.alpinelinux.org/vuln/CVE-2025-1594>

---

Data as of 2026-12-05T06:33:16.634Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
