Description
FFmpeg through 9.0.2 contains an integer underflow in decode_frame() in libavcodec/lcldec.c that allows attackers to trigger a heap out-of-bounds read via short ZLIB packets with FLAG_MULTITHREAD. Attackers can supply a crafted AVI or MKV file with an LCL video stream whose packet is shorter than 8 bytes, bypassing length clamping to crash the decoding application.
Published: 2026-11-09
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Heap Out-of-Bounds Read
Action: Apply Patch
AI Analysis

Impact

A bug in FFmpeg’s LCL decoder triggers an integer underflow when processing an LCL packet marked for multithreaded ZLIB decompression. Because the packet length is not properly clamped to a minimum of eight bytes, the decoder ends up reading past the end of the allocated buffer, producing a heap out-of-bounds read. An attacker can supply a crafted AVI or MKV file containing a short LCL packet, causing the application to read unintended memory or crash.

Affected Systems

All releases of FFmpeg up to and including 9.0.2 are vulnerable. The flaw resides in the libavcodec/lcldec.c code and affects any build lacking the patch introduced in a later commit.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no known widespread exploitation. The description does not explicitly state the type of access needed; however, based on the description, it is inferred that the vulnerability can be triggered by processing a crafted media file, implying local exploitation on the host running the decoder. Remote exploitation could be possible if the application accepts untrusted media from an external source, but this is not explicitly stated in the advisory.

Generated by OpenCVE AI on November 9, 2026 at 23:31 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to the latest stable release that includes the patch fixing the integer underflow in lcldec.c.
  • If an upgrade cannot be applied immediately, disable multithreaded ZLIB decoding for LCL streams by configuring FFmpeg to avoid the FLAG_MULTITHREAD option or setting the appropriate runtime flag.
  • Run media decoding in a sandboxed or containerized environment with the lowest privilege level, and restrict untrusted media input to a verified whitelist or perform pre‑decode validation to reject LCL packets shorter than eight bytes.

Generated by OpenCVE AI on November 9, 2026 at 23:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Description FFmpeg through 9.0.2 contains an integer underflow in decode_frame() in libavcodec/lcldec.c that allows attackers to trigger a heap out-of-bounds read via short ZLIB packets with FLAG_MULTITHREAD. Attackers can supply a crafted AVI or MKV file with an LCL video stream whose packet is shorter than 8 bytes, bypassing length clamping to crash the decoding application.
Title FFmpeg through 9.0.2 Heap Out-of-Bounds Read via LCL/ZLIB Multithread Decoding
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-191
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T19:11:17.977Z

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

Link: CVE-2026-125197

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T19:16:55.823

Modified: 2026-11-09T19:16:55.823

Link: CVE-2026-125197

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T23:45:17Z

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)