All reports
Medium

ffmpeg: CPU exhaustion via JPEG XL parser TOC count

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-125264

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-23

Description

FFmpeg through 9.0.2 contains an uncontrolled resource consumption vulnerability in parse_frame_header() in libavcodec/jpegxl_parser.c that fails to validate TOC entry counts against remaining input. Attackers can supply a crafted JPEG XL frame header with a permuted TOC and huge toc_count, making the parser loop excessively and exhaust CPU.

A flaw was found in FFmpeg. A CPU exhaustion issue can occur in the JPEG XL parser when processing a specially crafted JPEG XL file due to a failure to validate TOC (Table of Contents) entry counts against the remaining input. This vulnerability can lead to an excessive consumption of CPU resources, eventually resulting in a denial of service.