Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft Dolby Vision HEVC/AV1 file
-
DeliverySubmit to libx265 transcoding pipeline
-
Exploitrpu.payload leaked per encoded frame
-
ExecutionMemory grows unbounded
-
ImpactHost 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
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
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
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
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-120289
GHSA-9mj7-c5fq-6cm5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB