---
id: "CVE-2026-125193"
page: "https://infrastack.ai/live/CVE-2026-125193"
kind: "vulnerability"
aliases: ["CVE-2026-125193"]
title: "FFmpeg: truncated UYVY422 packets cause out-of-bounds heap read"
severity: "medium"
cvss: 6.9
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["ffmpeg", "media-processing", "package", "rtp", "self-hosted"]
not_affected_if: ["no-untrusted-input", "rtp-not-used"]
published_at: "2026-11-09T19:16:55+00:00"
first_seen_at: "2026-11-09T19:28:17+00:00"
updated_at: "2026-11-09T19:30:19+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125193", "first_seen_at": "2026-11-09T19:28:17+00:00"}]
exploit_sources: []
---

# FFmpeg: truncated UYVY422 packets cause out-of-bounds heap read

Link for people: https://infrastack.ai/live/CVE-2026-125193 (this .md is for agents)

FFmpeg through 9.0.2 does not check that bitpacked UYVY422 packets hold width × height × 2 bytes, so bitpacked_decode_uyvy422() reads past the buffer. An attacker who supplies a crafted RTP or raw stream can crash the application or expose adjacent heap memory.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed FFmpeg version with `ffmpeg -version`, and compare it against the fixed release listed in the sources.
- Look for applications that decode RFC 4175 RTP (SDP) streams or raw bitpacked UYVY422 input from untrusted sources.

## Fix

- FFmpeg: move to a release newer than `9.0.2`; the sources link a patch but do not name the fixed version.

## Timeline

- 2026-11-09T19:28:17+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-125193

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-out-of-bounds-read-via-bitpacked-decode-uyvy422
- [fix] Patch: github.com https://github.com/FFmpeg/FFmpeg/commit/f1205ee01893a3b509d96b5fe3aeda755c517973

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
