---
id: "CVE-2026-125200"
page: "https://infrastack.ai/live/CVE-2026-125200"
kind: "vulnerability"
aliases: ["CVE-2026-125200"]
title: "FFmpeg: crafted Dolby Vision files leak memory during x265 transcoding"
severity: "medium"
cvss: 6.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["ffmpeg", "libx265", "media-transcoding", "package"]
not_affected_if: ["no-libx265", "trusted-input-only"]
published_at: "2026-11-09T19:16:56+00:00"
first_seen_at: "2026-11-09T19:28:18+00:00"
updated_at: "2026-11-09T19:31:29+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125200", "first_seen_at": "2026-11-09T19:28:18+00:00"}]
exploit_sources: []
---

# FFmpeg: crafted Dolby Vision files leak memory during x265 transcoding

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

FFmpeg's libx265 encoder never frees a Dolby Vision RPU buffer for each encoded frame. A crafted Dolby Vision HEVC or AV1 file makes memory grow without limit, which can exhaust the machine and cause a denial of service.

_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 in the product ranges (unknown in the sources).
- Look for services or pipelines that run FFmpeg with libx265 to transcode user-supplied media.

## Timeline

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

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-memory-leak-via-libx265-dolby-vision-rpu-payloads
- [fix] Patch: github.com https://github.com/FFmpeg/FFmpeg/commit/8dc4af2bbbd0d650e299a3d327bd48c775120e11

## From the sources

FFmpeg through 9.0.2 contains a memory leak vulnerability in libavcodec/libx265.c because libx265_encode_frame() never frees the rpu.payload allocated by ff_dovi_rpu_generate(). Attackers can supply crafted Dolby Vision HEVC or AV1 files that leak one RPU allocation per encoded frame during libx265 transcoding, causing unbounded memory growth and denial of service.

---

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