Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft AVI with wraparound ODML entry count
-
DeliveryDeliver file to target user or pipeline
-
ExploitVictim invokes mkvmerge on malicious AVI
-
Execution32-bit integer overflow produces undersized heap allocation
-
PersistHeap buffer overflow overwrites adjacent memory
-
ImpactArbitrary code execution as victim user
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer-to-buffer conversion safety
|
| Exploitation Conditions | Exploitation requires that the victim invoke mkvmerge against a malicious AVI file - either by manually running the tool on an attacker-supplied file or by operating an automated pipeline that ingests untrusted AVI input. The vulnerable code path is specifically the ODML (OpenDML) superindex extension parser in the bundled avilib; an AVI file lacking an ODML superindex chunk will not trigger the flaw. The CVSS vector confirms local access (AV:L) with required user interaction (UI:R), meaning a network-reachable unauthenticated attacker cannot directly trigger the vulnerability - file delivery and user action are prerequisites. Automated media processing services that accept user-uploaded AVI files are the highest-risk deployment scenario because the UI:R barrier is effectively removed. Exploitation is limited to the mkvmerge tool specifically; other MKVToolNix components (mkvinfo, mkvextract) do not exercise this code path. |
| Impact | The vendor-assigned CVSS 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) is well-calibrated for this class of vulnerability. The local attack vector is accurate - exploitation requires a victim to open a file on their own machine using mkvmerge, which is standard behavior for a media muxer. The PR:N designation is technically correct (no privilege elevation needed to open files), and AC:L reflects the low complexity once the malicious file is delivered. C:H/I:H/A:H is appropriate given that a controlled heap overflow targeting a widely-studied allocation primitive can yield RCE. EPSS data is not provided in the input; absent KEV listing and confirmed POC, real-world exploitation is speculative at this time. The highest-risk scenario is automated media ingest pipelines (e.g., transcoding services that accept user-uploaded AVI files) where no human reviews the file before processing, bypassing the UI:R mitigating factor. For desktop use, the social-engineering requirement limits realistic impact. |
| Exploit ScenarioDerived | An attacker publishes or socially engineers delivery of a crafted AVI file where the ODML superindex entry count is set to a value that causes 32-bit multiplication to wrap to a small number, such as 1 or 0. When a video editor or automated transcoding service processes this file with mkvmerge to remux it into MKV format, the parser allocates an undersized buffer and immediately overflows it with parsed index data, potentially allowing the attacker to control heap layout and redirect execution. No public POC has been identified, but the integer-overflow-to-heap-overflow primitive is well-understood and has been reliably exploited in similar media parsing contexts. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 13, 2026
Heap buffer overflow in MKVToolNix through 101.0 allows code execution when a victim processes a crafted AVI file with mkvmerge. The bundled avilib 0.6.10 library's ODML superindex parser performs 32-bit size arithmetic on attacker-controlled entry counts, producing an integer wraparound (CWE-680) that causes an undersized heap allocation; subsequent data writes overflow the buffer. An attacker who delivers a malicious AVI file and induces a user or automated pipeline to process it with mkvmerge can achieve arbitrary code execution with user-level privileges. No public exploit has been identified and no KEV listing exists, but a patch commit is available on Codeberg.
RemediationAI
Apply the upstream fix by upgrading to the first MKVToolNix release incorporating commit 1495126138e086080f0163bee27fafbdf956a1d0 (https://codeberg.org/mbunkus/mkvtoolnix/commit/1495126138e086080f0163bee27fafbdf956a1d0); monitor the Codeberg repository and VulnCheck advisory (https://www.vulncheck.com/advisories/mkvtoolnix-through-101.0-heap-buffer-overflow-via-avilib-odml-superindex-integer-wraparound) for the specific tagged release version, as it is not independently confirmed from available data. As an immediate workaround, restrict mkvmerge from processing AVI files sourced from untrusted origins - this eliminates the ODML superindex code path entirely without affecting MKV-to-MKV workflows. For automated ingest pipelines, sandbox the mkvmerge process (e.g., using seccomp, AppArmor, or containerization with no-new-privileges) to limit the blast radius of exploitation; note this is not a preventative control but limits post-exploitation impact. Blocking AVI input at the pipeline intake is the simplest and cleanest mitigation for server-side deployments.
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
MKVToolNix bundles a lightly modified copy of avilib 0.6.10 (lib/avilib-0.6.10/avilib.c) to handle AVI container input during mkvmerge operations. The OpenDML (ODML) superindex extension permits multi-segment AVI files via additional index chunk types; the parser reads a 32-bit entry count directly from the file and feeds it into a size calculation using 32-bit arithmetic. When an attacker supplies an oversized count, the multiplication wraps around (CWE-680: Integer Overflow to Buffer Overflow), yielding an allocation far smaller than the data subsequently written into it - producing a classic heap buffer overflow at avilib.c lines 2552-2570. The affected CPE is cpe:2.3:a:moritz_bunkus:mkvtoolnix:*:*:*:*:*:*:*:* for all versions through 101.0. The vulnerability exists only when the mkvmerge path for AVI input is exercised; purely MKV-to-MKV operations are unaffected.
Know when the next one hits your stack
- 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:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local file processing with no special privileges, user must open file (UI:R); heap overflow enables RCE justifying full C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
MKVToolNix through 101.0 contains a heap buffer overflow in the bundled avilib library's ODML superindex parser due to integer wraparound in 32-bit arithmetic. Attackers can craft a malicious AVI file with oversized entry counts that cause an undersized heap allocation, allowing a heap buffer overflow when the file is parsed with mkvmerge.
Executive ViewAI
MKVToolNix and its bundled mkvmerge utility, commonly used in video production and automated transcoding pipelines, contain a critical heap buffer overflow vulnerability enabling arbitrary code execution; no public exploit has been identified at time of analysis. An attacker delivering a malicious AVI file to an affected system achieves code execution under user account privileges, creating exposure in unattended batch processing environments and supply-chain scenarios. The risk is particularly acute for organizations accepting video files from external or untrusted sources.
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.
Same weakness CWE-680 – Integer Overflow to Buffer Overflow
View allSame technique Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Package Hub 15 SP7 | Fixed |
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Package Hub 15 SP7 | Affected |
EUVD-2026-77010
GHSA-x9xf-h66v-mjmc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB