---
id: CVE-2026-125263
title: FFmpeg 9.0 through 9.0.2 Memory Exhaustion via LCEVC Enhancement Dimensions
summary: >-
  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…
severity: medium
cvss: 4.7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-789
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg >= 9.0 <= 9.0.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-09T20:54:46.620010Z'
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T20:56:48.418Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125263'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25408'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/60b286521b46caa09792af04c6a4e3437aac8293
    label: Patch Commit
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/decode.c#L1660'
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-9.0-through-9.0.2-memory-exhaustion-via-lcevc-enhancement-dimensions
    label: >-
      VulnCheck Advisory: FFmpeg 9.0 through 9.0.2 Memory Exhaustion via LCEVC
      Enhancement Dimensions
tags:
  - cve.org
ingestedAt: '2026-11-09T20:27:27.078Z'
---

## Overview

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.

## Affected

- `FFmpeg >= 9.0 <= 9.0.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
