CVE-2026-125200
Received Received - Intake

Memory Leak in FFmpeg via libx265 Dolby Vision Encoding

Vulnerability report for CVE-2026-125200, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-09

Last updated on: 2026-11-09

Assigner: VulnCheck

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-09
Last Modified
2026-11-09
Generated
2026-11-09
AI Q&A
2026-11-09
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
FFmpeg FFmpeg From 7.1 (inc) to 9.0.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a memory leak in FFmpeg through version 9.0.2. It occurs in the libavcodec/libx265.c component where the function libx265_encode_frame() fails to free memory allocated for rpu.payload during Dolby Vision HEVC or AV1 file processing. Attackers can exploit this by providing specially crafted files that cause repeated memory allocations without release, leading to excessive memory consumption and system crashes.

Detection Guidance

Detecting this vulnerability requires monitoring for memory leaks during FFmpeg operations, particularly when processing Dolby Vision HEVC or AV1 files. Use tools like 'valgrind' to track memory allocations and leaks during FFmpeg transcoding. Check for processes consuming excessive memory when handling such files.

Impact Analysis

This vulnerability can impact you by causing your system to run out of memory during video transcoding tasks. If you process Dolby Vision HEVC or AV1 files using FFmpeg, an attacker could supply malicious files that gradually consume all available memory, leading to system slowdowns, crashes, or denial of service. This is particularly risky for servers or systems handling continuous media processing.

Mitigation Strategies

Immediately update FFmpeg to the latest version that patches this vulnerability. Avoid processing untrusted Dolby Vision HEVC or AV1 files until patched. Monitor system memory usage for abnormal growth during transcoding operations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-125200. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...