---
id: CVE-2026-125193
title: FFmpeg through 9.0.2 Out-of-Bounds Read via bitpacked_decode_uyvy422()
summary: >-
  FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in
  bitpacked_decode_uyvy422() in libavcodec/bitpacked_dec.c because it never
  verifies packets hold width * height * 2 bytes. Attackers can supply truncated
  bitpacked UYVY4…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-125
vendor: FFmpeg
product: FFmpeg
affected:
  - FFmpeg <= 9.0.2
published: '2026-11-09'
updated: '2026-11-09'
sourceUpdated: '2026-11-09T19:11:15.182Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-125193'
references:
  - url: 'https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25702'
  - url: >-
      https://github.com/FFmpeg/FFmpeg/commit/f1205ee01893a3b509d96b5fe3aeda755c517973
    label: Patch Commit
  - url: >-
      https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/bitpacked_dec.c#L52
  - url: 'https://github.com/FFmpeg/FFmpeg'
  - url: >-
      https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-out-of-bounds-read-via-bitpacked-decode-uyvy422
    label: >-
      VulnCheck Advisory: FFmpeg through 9.0.2 Out-of-Bounds Read via
      bitpacked_decode_uyvy422()
tags:
  - cve.org
ingestedAt: '2026-11-09T19:18:02.605Z'
---

## Overview

FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in bitpacked_decode_uyvy422() in libavcodec/bitpacked_dec.c because it never verifies packets hold width * height * 2 bytes. Attackers can supply truncated bitpacked UYVY422 packets via crafted SDP/RFC 4175 RTP sessions or raw input to crash applications or expose adjacent heap memory.

## Affected

- `FFmpeg <= 9.0.2`

## Remediation

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