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

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-02-23T21:00:13.152Z
- Modified: 2026-06-17T08:39:26.090Z
- Weaknesses: CWE-119, CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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; and 43 more
- ffmpeg ffmpeg: up to 7.1

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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`
- VulDB: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://trac.ffmpeg.org/ticket/11418#comment:3> (exploit, issue-tracking, vendor-advisory)
- <https://trac.ffmpeg.org/attachment/ticket/11418/poc> (exploit, issue-tracking)
- <https://vuldb.com/?id.296589> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.296589> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.496929> (third-party-advisory, vdb-entry)
- <https://ffmpeg.org/> (product)

## Sources

- CVE List: [CVE-2025-1594](https://www.cve.org/CVERecord?id=CVE-2025-1594), CVE Terms of Use, modified 2025-02-24
- NVD: [CVE-2025-1594](https://nvd.nist.gov/vuln/detail/CVE-2025-1594), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-1594 · Whole record: https://cve.day/CVE-2025-1594.json · Rebuilt by cve.day 2026-11-25T22:58:54.237Z
