Uncontrolled Resource Consumption in FFmpeg by JPEG XL Frame Header
CVE-2026-125264
6.8MEDIUM
What is CVE-2026-125264?
FFmpeg versions up to 9.0.2 are susceptible to an uncontrolled resource consumption vulnerability within the parse_frame_header() function in libavcodec/jpegxl_parser.c. This issue arises when the parser fails to validate the Table of Contents (TOC) entry counts against the remaining input, permitting attackers to craft a malicious JPEG XL frame header. By supplying a permuted TOC and an excessively large toc_count, attackers can induce the parser to enter an infinite loop, leading to significant CPU exhaustion and affecting system performance.
Affected Version(s)
FFmpeg 0 <= 9.0.2
References
CVSS V4
Score:
6.8
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Joshua Rogers (AISLE Research)
Michael Niedermayer
