Description
FFmpeg 9.0 through 9.0.2 built with liblcevc_dec fails to validate LCEVC enhanced output dimensions against max_pixels in libavcodec/decode.c before frame allocation. Attackers can supply crafted H.264, HEVC or VVC streams declaring huge LCEVC resolutions to force oversized get_buffer2() allocations and exhaust memory.
Published: 2026-11-09
Score: 5.7 Medium
EPSS: n/a
KEV: No
Impact: Memory Exhaustion
Action: Patch
AI Analysis

Impact

This vulnerability allows an attacker to cause FFmpeg processes to allocate extreme amounts of memory by supplying streams that declare absurd LCEVC enhanced dimensions. The insecure allocation of buffer space before validating the size can lead to out‑of‑memory conditions, potentially crashing the decoding process or exhausting system resources. The weakness is classified as arbitrary memory allocation (CWE‑789).

Affected Systems

The affected package is FFmpeg, versions 9.0 through 9.0.2 when compiled with the liblcevc_dec decoder. Users deploying these releases need to be aware that any decoding of H.264, HEVC or VVC streams containing LCEVC payloads may trigger the flaw if the decoder is used.

Risk and Exploitability

The CVSS score of 5.7 indicates a moderate severity. No EPSS value is available, and the vulnerability is not listed as a known exploited vulnerability by CISA. Exploitation requires crafting a video stream and feeding it into an FFmpeg instance that performs LCEVC decoding. While the attack surface exists in any application that accepts externally supplied video, no public exploits have been documented yet.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to FFmpeg 9.0.3 or later which includes the fix for LCEVC dimension validation.
  • If an upgrade is not possible, rebuild or configure FFmpeg without liblcevc_dec support to prevent LCEVC decoding.
  • Introduce input size validation or limit maximum pixels before invoking get_buffer2() to guard against oversized frames.
  • Monitor memory consumption of ffmpeg processes and set limits to avoid exhaustion.

Generated by OpenCVE AI on November 9, 2026 at 21:20 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 9.0 through 9.0.2 built with liblcevc_dec fails to validate LCEVC enhanced output dimensions against max_pixels in libavcodec/decode.c before frame allocation. Attackers can supply crafted H.264, HEVC or VVC streams declaring huge LCEVC resolutions to force oversized get_buffer2() allocations and exhaust memory.
Title FFmpeg 9.0 through 9.0.2 Memory Exhaustion via LCEVC Enhancement Dimensions
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-789
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 5.7, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/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.418Z

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

Link: CVE-2026-125263

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-125263

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-789

    Memory Allocation with Excessive Size Value