FFmpeg up to 7.1 AAC Encoder libavcodec/aacenc_tns.c ff_aac_search_for_tns stack-based overflow
Summary
A vulnerability classified as critical has been found in FFmpeg up to 7.1. The impacted element is the function ff_aac_search_for_tns of the file libavcodec/aacenc_tns.c of the component AAC Encoder. Performing a manipulation results in stack-based overflow.
This vulnerability is cataloged as CVE-2025-1594. It is possible to initiate the attack remotely. Furthermore, there is an exploit available.
Details
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 with an unknown input leads to a stack-based overflow vulnerability. CWE is classifying the issue as CWE-121. A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). This is going to have an impact on confidentiality, integrity, and availability.
The advisory is shared at trac.ffmpeg.org. This vulnerability is uniquely identified as CVE-2025-1594. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details and a public exploit are known.
The exploit is shared for download at trac.ffmpeg.org. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 265685 (Debian dsa-6007 : ffmpeg - security update), which helps to determine the existence of the flaw in a target environment.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at Tenable (265685) and CERT Bund (WID-SEC-2025-0429). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Affected
- Ubuntu Linux
- Open Source ffmpeg
Product
Type
Name
Version
- 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
- 3.4.12
- 3.4.13
- 4.2.0
- 4.2.1
- 4.2.2
- 4.2.3
- 4.2.4
- 4.2.5
- 4.2.6
- 4.2.7
- 4.2.8
- 4.2.9
- 4.2.10
- 4.3.0
- 4.3.1
- 4.3.2
- 4.3.3
- 4.3.4
- 4.3.5
- 4.3.6
- 4.3.7
- 4.3.8
- 4.4.0
- 4.4.1
- 4.4.2
- 4.4.3
- 4.4.4
- 4.4.5
- 5.1.0
- 5.1.1
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 6.1.0
- 6.1.1
- 6.1.2
- 7.0
- 7.0.0
- 7.0.1
- 7.0.2
- 7.1
License
Website
- Product: https://ffmpeg.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CNA CVSS-B Score: 🔍
CNA CVSS-BT Score: 🔍
CNA Vector: 🔍
CVSSv3
VulDB Meta Base Score: 7.1VulDB Meta Temp Score: 7.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
NVD Vector: 🔍
CNA Base Score: 6.3
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Stack-based overflowCWE: CWE-121 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 265685
Nessus Name: Debian dsa-6007 : ffmpeg - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
02/22/2025 🔍02/22/2025 🔍
09/22/2025 🔍
Sources
Product: ffmpeg.orgAdvisory: trac.ffmpeg.org
Status: Confirmed
CVE: CVE-2025-1594 (🔍)
GCVE (CVE): GCVE-0-2025-1594
GCVE (VulDB): GCVE-100-296589
CERT Bund: WID-SEC-2025-0429 - ffmpeg: Schwachstelle ermöglicht Denial of Service, potentiell Codeausführung
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 02/22/2025 23:15Updated: 09/22/2025 13:40
Changes: 02/22/2025 23:15 (57), 02/23/2025 22:32 (30), 06/04/2025 07:17 (12), 09/06/2025 13:21 (7), 09/22/2025 13:40 (2)
Complete: 🔍
Submitter: 0x20z
Cache ID: 216::103
Submit
Accepted
- Submit #496929: FFmpeg git master stack-buffer-overflow (by 0x20z)
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.