---
id: CVE-2026-125223
title: FFmpeg 8.0 through 9.0.2 Memory Leak in VP9 Decoder via vp9_decode_frame
summary: >-
  FFmpeg 8.0 through 9.0.2 contains a memory leak vulnerability in the VP9
  decoder that allows attackers to exhaust memory because vp9_decode_frame()
  skips resetting the CBS fragment on error paths. Attackers can supply a
  crafted VP9 strea…
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-401
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg >= 8.0 <= 9.0.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-09T20:59:15.804263Z'
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T21:06:55.261Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125223'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25232'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/bcce3232016695f5e482867519c45727a0a2a2c9
    label: Patch Commit
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/vp9.c#L1766'
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-8.0-through-9.0.2-memory-leak-in-vp9-decoder-via-vp9-decode-frame
    label: >-
      VulnCheck Advisory: FFmpeg 8.0 through 9.0.2 Memory Leak in VP9 Decoder
      via vp9_decode_frame
tags:
  - cve.org
ingestedAt: '2026-11-09T19:18:02.590Z'
---

## Overview

FFmpeg 8.0 through 9.0.2 contains a memory leak vulnerability in the VP9 decoder that allows attackers to exhaust memory because vp9_decode_frame() skips resetting the CBS fragment on error paths. Attackers can supply a crafted VP9 stream with invalid tile sizes decoded with slice threading to leak packet buffers and units, exhausting memory in the decoding application.

## Affected

- `FFmpeg >= 8.0 <= 9.0.2`

## Remediation

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