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.
Published: 2026-11-09
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: CPU Exhaustion
Action: Patch Upgrade
AI Analysis

Impact

FFmpeg versions up to 9.0.2 contain an uncontrolled resource consumption flaw in the JPEG XL parser. The parse_frame_header() function fails to verify the table of contents (TOC) entry count against the remaining input, allowing an attacker to supply a malformed frame header with a huge toc_count. This causes the parser to loop for an extended period and exhaust CPU cycles. The weakness is identified as CWE-606, representing a logic error in input validation. The resulting impact is degraded performance and potential denial of service for services relying on FFmpeg.

Affected Systems

FFmpeg, version 9.0.2 and earlier, is affected. Users of FFmpeg 9.0.2 or earlier must check their installed version and upgrade if it matches the affected releases.

Risk and Exploitability

The CVSS score is 6.8, indicating a moderate severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is supplying a malicious JPEG XL file to a vulnerable FFmpeg instance; an attacker can trigger the CPU exhaustion by crafting a frame header with an oversized TOC count. Given that the flaw resides in the parsing routine, the vulnerability can be exploited remotely by feeding crafted media to applications that invoke FFmpeg for decoding.

Generated by OpenCVE AI on November 9, 2026 at 21:19 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to a version newer than 9.0.2 where the TOC count validation is corrected.
  • If an upgrade cannot be performed immediately, disable JPEG XL support in FFmpeg or configure the application to reject or validate large TOC counts before feeding the data to the parser.
  • Rebuild FFmpeg from source after applying the upstream patch to ensure parse_frame_header() properly limits toc_count against the remaining input.

Generated by OpenCVE AI on November 9, 2026 at 21:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 19:30:00 +0000

Type Values Removed Values Added
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.
Title FFmpeg through 9.0.2 CPU Exhaustion via JPEG XL Parser TOC Count
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-606
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T20:56:48.182Z

Reserved: 2026-11-09T18:15:34.736Z

Link: CVE-2026-125264

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T20:18:12.943

Modified: 2026-11-09T20:18:12.943

Link: CVE-2026-125264

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T21:30:11Z

Weaknesses
  • CWE-606

    Unchecked Input for Loop Condition