Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft media with mid-stream resolution increase
-
ExploitOperator transcodes input to OpenEXR RLE
-
Executionencode_scanline_rle() writes pointers past scanline array
-
ImpactHeap corruption crashes FFmpeg (denial of service)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that FFmpeg be used to ENCODE/transcode attacker-influenced input to the OpenEXR format with RLE compression specifically - the bug is in the EXR encoder's RLE scanline path (encode_scanline_rle()), not in decoding. The triggering condition is concrete: the source frame's resolution must GROW mid-stream so that a frame is taller than the encoder height configured at initialization (src->height != avctx->height), which the pre-patch code failed to reject. Limiting factors that reduce real-world risk: the attack vector is local file/stream processing (AV:L), an operator or automated workflow must actually run an EXR+RLE transcode of the malicious input (UI:P passive interaction), and the specific mid-stream resolution-growth condition must be met (AT:P). It does not affect FFmpeg deployments that never encode to OpenEXR RLE. |
| Impact | The input CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P) describes a local, high-complexity issue that additionally carries an attack requirement (AT:P) and passive user interaction (UI:P) - meaning exploitation is not a simple remote drive-by but depends on an operator transcoding attacker-supplied media. Although PR:N indicates no privileges are needed by the attacker (they only supply a crafted file), the local attack vector and the AT:P/UI:P conditions substantially constrain real-world exploitability. The vuln.today priority is 'this_week' (not act_now/emergency), there is no CISA KEV listing and no EPSS score was provided, and no public exploit code is referenced, so this is a genuine but non-urgent fix-on-schedule issue rather than a mass-exploitation emergency. Note a tension in the signals: the supplied CVSS 4.0 vector rates VC:H/VI:H/VA:H (full confidentiality/integrity/availability impact), yet the description only demonstrates heap corruption that writes pointers past the scanline array and crashes the application - i.e. the proven impact is denial of service, with code execution being a theoretical heap-overflow possibility that the sources do not confirm. The high rated confidentiality/integrity impacts are therefore not substantiated by the available evidence and should be verified against the VulnCheck advisory. |
| Exploit ScenarioDerived | An attacker crafts a media file whose frame resolution grows partway through the stream and submits it to a service or workflow that transcodes user-supplied video to OpenEXR with RLE compression. When FFmpeg's encode_scanline_rle() processes a frame taller than the encoder height, it writes pointers past the scanline array, corrupting the heap and crashing the FFmpeg process. No public exploit code is identified at time of analysis; the referenced VulnCheck page is an advisory, not verified working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Encoding attacker-influenced media to OpenEXR with RLE compression in FFmpeg through 9.0.2 can corrupt heap memory when a source frame's resolution grows mid-stream and a frame ends up taller than the encoder height fixed at initialization, causing encode_scanline_rle() to write past the scanline array. Exploitation is local and conditional: FFmpeg must actually be used to transcode to EXR+RLE, an operator must feed or play the crafted input (passive interaction), and the mid-stream resolution-growth condition must be met. The assessed impact is primarily availability (crash) with a limited integrity effect and no confidentiality loss; no public exploit code has been identified at time of analysis and the issue is not in CISA KEV, though the patch is available upstream and should land in this week's cycle.
RemediationAI
Apply the vendor-released upstream fix commit 9b99973b2bbecee0b7e1e57035b95498b42f54a6 (upstream PR 25682), which tightens the frame-size check in libavcodec/encode.c to reject any frame whose width or height differs from the encoder context, and rebuild or update to a build containing it; a specifically tagged release version carrying the fix is not independently confirmed in the available data, so verify the commit is present in whatever package you deploy. Prioritize this within the current week in line with the this_week priority signal, especially on any system that transcodes untrusted media. Where rebuilding is not immediately possible, reduce exposure by ensuring untrusted input is not transcoded to OpenEXR with RLE compression enabled, which removes the vulnerable scanline path at the cost of losing that output format/compression option for such workflows, and by constraining transcode pipelines to fixed-resolution, single-dimension input so mid-stream resolution growth cannot reach the encoder - each of these narrows functionality and is only a stopgap. Running transcodes of untrusted media in a sandboxed, resource-limited process contains the consequence of the memory corruption (crash or limited integrity impact) but does not fix the underlying write. Vendor and advisory references: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25682, https://github.com/FFmpeg/FFmpeg/commit/9b99973b2bbecee0b7e1e57035b95498b42f54a6, https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-in-exr-encoder-rle-path.
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 lives in FFmpeg's OpenEXR encoder, libavcodec/exrenc.c, specifically in the RLE scanline path encode_scanline_rle() (referenced at line 226 of the n9.0.2 tree). It is a CWE-122 heap-based buffer overflow: because the encoder sizes its scanline/pointer array to avctx->height at initialization, a frame that arrives later with a larger height causes out-of-bounds pointer writes on the heap. The root cause is compounded by a validation defect in libavcodec/encode.c: encode_send_frame_internal() only rejected frames larger than the initialized dimensions using a strict '<' comparison, so any frame whose width or height differed from avctx->width/avctx->height was not consistently rejected. The upstream fix changes that guard to reject any mismatch (src->width != avctx->width || src->height != avctx->height), closing the window in which a growing stream can deliver an oversized frame to the encoder. Only the encode/transcode direction is affected - decoding OpenEXR is not the vector - and only the RLE-compression code path within the EXR encoder handles the scanline data in the vulnerable way. Note the assessed severity uses a different vector family (CVSS 3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H) than the published 7.3 CVSS 4.0 vector, but both agree on a local, high-complexity, attack-requirement-constrained issue with high availability impact and no confidentiality impact.
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:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local crafted-input processing during an EXR/RLE transcode (AV:L, UI:R) with a specific mid-stream resolution condition (AC:H); demonstrated impact is a heap-corruption crash (A:H) with limited integrity from the out-of-bounds write and no confidentiality disclosure shown.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/exrenc.c that allows attackers to corrupt heap memory when encode_scanline_rle() processes frames taller than the encoder height. Attackers can supply crafted input whose resolution grows mid-stream, transcoded to OpenEXR with RLE compression, to write pointers past the scanline array and crash the application.
Executive ViewAI
FFmpeg through 9.0.2 contains a high-severity heap memory corruption vulnerability (CVE-2026-125260) that can be triggered during transcoding to OpenEXR with RLE compression, primarily causing crashes and potential limited data integrity issues. The risk is localized to environments where operators process untrusted media inputs, affecting availability of media processing pipelines but not confidentiality. Leadership should prioritize patch deployment to prevent service disruptions.
Apply vendor patch.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
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-120210
GHSA-v7mh-fwjx-mgh7
NVD
CVE.org
EPSS
Exploit-DB