PatchSiren cyber security CVE debrief
CVE-2026-125104 FFmpeg CVE debrief
A memory exhaustion vulnerability exists in FFmpeg through version 9.0.2 in the ape_decode_frame() function within libavcodec/apedec.c. This vulnerability is due to the failure to enforce the 73728-sample limit for legacy APE frames, allowing attackers to supply crafted legacy Monkey's Audio files with an enormous nblocks value. This can force gigabyte-scale allocations, leading to a denial of service.
- Vendor
- FFmpeg
- Product
- Unknown
- CVSS
- MEDIUM 6.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-09
- Original CVE updated
- 2026-11-10
- Advisory published
- 2026-11-09
- Advisory updated
- 2026-11-10
Who should care
Defenders responsible for maintaining and securing FFmpeg installations should be aware of this vulnerability and take necessary actions to prevent potential denial-of-service attacks.
Why it matters
Defenders should prioritize verifying and updating FFmpeg installations to prevent potential denial-of-service attacks due to the memory exhaustion vulnerability.
- Denial of service due to memory exhaustion
- Potential for gigabyte-scale allocations leading to system crashes
Technical summary
The ape_decode_frame() function in libavcodec/apedec.c fails to enforce the 73728-sample limit for legacy APE frames, allowing attackers to supply crafted legacy Monkey's Audio files with an enormous nblocks value. This can force gigabyte-scale allocations, leading to a denial of service. Defenders should prioritize verifying and updating FFmpeg installations to prevent potential denial-of-service attacks. The vulnerability was discovered in FFmpeg version 9.0.2 and is caused by the lack of enforcement of the 73728-sample limit for legacy APE frames in the ape_decode_frame() function.
Defensive priority
Defenders should prioritize verifying and updating FFmpeg installations to prevent potential denial-of-service attacks.
Recommended defensive actions
- Verify FFmpeg installations and update to a fixed version if available
- Restrict access to untrusted Monkey's Audio files
- Monitor for suspicious activity related to denial-of-service attacks
- Implement additional logging and monitoring to detect potential attacks
- Conduct a thorough review of system configurations and security controls
- Develop an incident response plan in case of a denial-of-service attack
- Test and verify the effectiveness of security controls
Evidence notes
The vulnerability was discovered in FFmpeg version 9.0.2 and is caused by the lack of enforcement of the 73728-sample limit for legacy APE frames in the ape_decode_frame() function. This allows attackers to cause a denial of service by supplying a crafted legacy Monkey's Audio file.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-125104 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-125104
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-125104 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-125104
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
FFmpeg through 9.0.2 contains a memory exhaustion vulnerability in ape_decode_frame() in...
Unverified legacy reference
URL: https://github.com/advisories/GHSA-r322-5w3w-7x79
github_advisory_database
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg/commit/968e9e948ed8c9ba90dbc875e60b843c755cf4ba
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25703
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/apedec.c
Supplemental source
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-memory-exhaustion-dos-via-ape-decoder-apedec-c
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.