CVE-2025-1594
FFmpeg AAC Encoder aacenc_tns.c ff_aac_search_for_tns stack-based overflow
Reported by vuldb · Published February 23, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ffmpeg-7 | Wolfi | 7.1.1-r12 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | FFmpeg | 3.4.0, 3.4.1, 3.4.2 |
| wolfi | ffmpeg-7 | 0 |
| n/a | FFmpeg | 4.4.5, 7.1, 4.3.2 |
| alpine | ffmpeg | 0, 0 |
| chainguard | ffmpeg-7 | 0 |
Timeline
- Feb 23, 2025 CVE Published
- Feb 24, 2025 EPSS Score (30 in total, the first dated here)
- Feb 24, 2025 CVE Updated
- Mar 4, 2025 Coalition ESS Score (15 in total, the first dated here)
- Jun 2, 2026 Security Advisory (8 in total, the first dated here)
- Aug 17, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-1594
vulnetix vdb fixes CVE-2025-1594
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-1594/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- VDB-296589 | FFmpeg AAC Encoder aacenc_tns.c ff_aac_search_for_tns stack-based overflow vdb-entrytechnical-description
- VDB-296589 | CTI Indicators (IOB, IOC, IOA) signaturepermissions-required
- Submit #496929 | FFmpeg git master stack-buffer-overflow third-party-advisory
- issue-tracking
- exploitissue-tracking
- product