Skip to main content

FFmpeg CVE-2026-125200

| EUVDEUVD-2026-120289 MEDIUM
Memory Leak (CWE-401)
2026-11-09 disclosure@vulncheck.com GHSA-9mj7-c5fq-6cm5
6.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft Dolby Vision HEVC/AV1 file
  2. Delivery
    Submit to libx265 transcoding pipeline
  3. Exploit
    rpu.payload leaked per encoded frame
  4. Execution
    Memory grows unbounded
  5. Impact
    Host memory exhaustion denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

Exploitation requires an FFmpeg build that includes the libx265 encoder with X265_BUILD >= 167 (where the x265 picture rpu.payload field exists), a transcoding workflow that re-encodes to HEVC via libx265, and an attacker-supplied input carrying Dolby Vision RPU metadata (HEVC or AV1 source) so that ff_dovi_rpu_generate() allocates the leaked payload. An operator or automated pipeline must actively process the malicious file (UI:P), and the vector is local (AV:L), so the attacker needs a path to feed files into the transcoding host. Limiting factors: builds without libx265 or without Dolby Vision RPU input are not affected; the leak is only one allocation per frame, so meaningful denial of service requires sustained or large-volume transcoding rather than a single short clip; impact is availability only - no code execution, data disclosure, or integrity loss.

Impact

This is a medium-severity, availability-only issue (CVSS 4.0 base 6.8, VA:H with VC:N/VI:N) consistent across signals, not a high-CVSS-but-low-risk outlier nor a top-priority emergency. The 4.0 vector is AV:L/AC:L/AT:N/PR:N/UI:P: exploitation requires a local attack vector and passive user interaction (an operator or pipeline must process the malicious file), which meaningfully constrains real-world risk despite no authentication being needed. The vuln.today decision label is 'this_month', not act_now/emergency, aligning with a DoS-only memory leak rather than code execution. No EPSS score was provided, there is no CISA KEV listing, and no confirmed working exploit code is present - the references are the upstream fix commit, the FFmpeg repo/source line, and a VulnCheck advisory, so no public exploit identified at time of analysis. The practical impact depends on sustained processing: because the leak is one RPU allocation per encoded frame, meaningful denial of service requires transcoding large or many Dolby Vision streams, so a single small file is low-impact. Missing data to note: no EPSS and no tagged fixed-release version (the fix is a post-9.0.2 commit).

Exploit ScenarioDerived

An attacker submits a crafted Dolby Vision HEVC or AV1 file to a service or pipeline that transcodes it to HEVC using FFmpeg's libx265 encoder. Each encoded frame leaks the rpu.payload buffer allocated by ff_dovi_rpu_generate(), so a long or high-framerate input drives unbounded memory growth until the process or host exhausts memory. No public working exploit code was identified; an upstream fix commit and a VulnCheck advisory exist.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Unbounded memory growth during HEVC transcoding affects FFmpeg 7.1 through 9.0.2 when the libx265 encoder is used on inputs carrying Dolby Vision RPU metadata (HEVC or AV1 source), because libx265_encode_frame() never releases the rpu.payload buffer that ff_dovi_rpu_generate() allocates - one leaked allocation per encoded frame. Exploitation requires an FFmpeg build linked against x265 with X265_BUILD >= 167 so the rpu.payload field exists, plus an operator or automated pipeline that actually transcodes the attacker-supplied file (local attack vector, no privileges required, user interaction required); the result is availability-only denial of service after sustained or large-volume transcoding, not code execution or data disclosure. No public exploit code has been identified at time of analysis, the issue is not in CISA KEV, and risk signals are consistent at medium severity (CVSS 4.0 base 6.8, VA:H with VC:N/VI:N), placing it in a this-month remediation cadence rather than an emergency.

RemediationAI

The primary fix is upstream commit 8dc4af2bbbd0d650e299a3d327bd48c775120e11 (FFmpeg PR 25416), which frees x265pic.rpu.payload under an #if X265_BUILD >= 167 guard; this is an upstream fix available as a commit/PR, and a tagged released patched version is not independently confirmed from the supplied data, so downstream distributions and embedders should apply the backport or track their packaging update. Until a patched build is deployed, actionable controls with their trade-offs are: build or run FFmpeg without the libx265 encoder (--disable-libx265) for any transcoding endpoint that accepts untrusted input - costs HEVC encoding capability and forces a different encoder or passthrough; strip or reject Dolby Vision RPU metadata before transcoding (e.g. remux/drop the DOVI configuration and RPU side data) - loses Dolby Vision output fidelity but removes the allocation path; constrain the exposure window by capping per-process memory (systemd MemoryMax, cgroup limits, ulimit -v) and recycling transcoding workers on a frame-count or memory threshold - converts the unbounded growth into a contained, observable fault rather than a host-wide outage; and restrict who can submit files to transcoding pipelines, since the vector is local and requires an operator or automated job to ingest the crafted file. Given the this-month priority and availability-only impact, scheduled patching within the maintenance window is appropriate.

Affected VersionsENISA

FFmpeg 7.1 ≤9.0.2

Affected Packages

euvd ffmpeg no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a CWE-401 (missing release of memory after effective lifetime) defect in FFmpeg's libx265 encoder wrapper, libavcodec/libx265.c. When encoding a frame that carries Dolby Vision metadata, the wrapper calls ff_dovi_rpu_generate() to build a raw RPU payload and attaches it to the x265 picture via x265pic.rpu.payload; the encode path returns without ever calling av_freep() on that buffer, so each encoded frame strands one allocation. The leak is conditional on the x265 picture struct exposing the rpu.payload field, which the upstream fix gates behind X265_BUILD >= 167 - meaning FFmpeg built against older x265 headers does not exercise the leaking field. The upstream fix (commit 8dc4af2bbbd0d650e299a3d327bd48c775120e11, PR 25416) simply adds an #if X265_BUILD >= 167 guarded av_freep(&x265pic.rpu.payload) after encoding. Affected deployments are therefore not all FFmpeg installs but specifically those with a libx265-enabled build of FFmpeg 7.1 through 9.0.2 that are fed Dolby Vision-bearing HEVC or AV1 media; the exact trigger path beyond that (which container/demuxer combinations deliver the metadata in a given build) is not described in the available sources.

Know when Ffmpeg gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 6.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Local processing of a supplied file (AV:L), operator must initiate the transcode (UI:R), no authentication (PR:N), and the only impact is memory-exhaustion denial of service (A:H, C:N/I:N).

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.5 MEDIUM

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec ubiquitous; libx265 Dolby Vision RPU path narrows real exposure
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy