---
id: CVE-2026-125242
title: FFmpeg through 9.0.2 Memory Leak via VDPAU Hwaccel Bitstream Buffer Table
summary: >-
  FFmpeg through 9.0.2 contains a memory leak vulnerability in
  libavcodec/vdpau.c that allows attackers to exhaust heap memory by aborting
  pictures before end_frame. Attackers can supply crafted H.264 streams with
  malformed NAL units that …
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:56:23.321151Z'
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T20:56:49.265Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125242'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25231'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/2c6cd8098844f2367f8ba0a3a483e405c8f76449
    label: Patch Commit
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/eac2bedcf6245552b39eed32b334851bc6a1b8fa
    label: Patch Commit
  - url: 'https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/vdpau.c#L378'
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-memory-leak-via-vdpau-hwaccel-bitstream-buffer-table
    label: >-
      VulnCheck Advisory: FFmpeg through 9.0.2 Memory Leak via VDPAU Hwaccel
      Bitstream Buffer Table
tags:
  - cve.org
ingestedAt: '2026-11-09T19:18:02.579Z'
---

## Overview

FFmpeg through 9.0.2 contains a memory leak vulnerability in libavcodec/vdpau.c that allows attackers to exhaust heap memory by aborting pictures before end_frame. Attackers can supply crafted H.264 streams with malformed NAL units that repeatedly abandon pictures, leaking the bitstream_buffers table continuously and causing denial of service.

## Affected

- `FFmpeg <= 9.0.2`

## Remediation

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