---
id: CVE-2026-125252
title: FFmpeg through 9.0.2 VAAPI Memory Leak via Abandoned Picture Buffers
summary: >-
  FFmpeg through 9.0.2 contains a memory leak vulnerability in
  libavcodec/vaapi_decode.c that allows attackers to exhaust memory by supplying
  streams with slice parse errors. Attackers can craft H.264 or other
  VAAPI-decoded video where lat…
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 <= 9.0.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-09T20:55:35.526949Z'
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T20:56:48.831Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125252'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25231'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/4221a63ce869ade862557ca64693bf77f5032971
    label: Patch Commit
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/838c660bb3cd66ba74981b453c14c79214f6ef92
    label: Patch Commit
  - url: >-
      https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/vaapi_decode.c#L117
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-vaapi-memory-leak-via-abandoned-picture-buffers
    label: >-
      VulnCheck Advisory: FFmpeg through 9.0.2 VAAPI Memory Leak via Abandoned
      Picture Buffers
tags:
  - cve.org
ingestedAt: '2026-11-09T20:27:27.089Z'
---

## Overview

FFmpeg through 9.0.2 contains a memory leak vulnerability in libavcodec/vaapi_decode.c that allows attackers to exhaust memory by supplying streams with slice parse errors. Attackers can craft H.264 or other VAAPI-decoded video where later slices fail to parse on every frame, continuously leaking VA parameter and slice buffers plus driver and heap memory.

## Affected

- `FFmpeg <= 9.0.2`

## Remediation

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