Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious MNG with multi-record ORDR chunk
-
DeliveryDeliver file to victim
-
ExploitVictim opens file in libmng app
-
ExecutionORDR buffer sized by 5-byte records overflowed by 8-byte entries
-
ImpactOut-of-bounds heap write crashes application
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer size calculation
|
| Exploitation Conditions | Exploitation requires an application that links libmng version 2.0.3 or earlier and calls mng_read or mng_readdisplay on untrusted input, plus a victim action to open/process an attacker-crafted MNG file (UI:P) - there is no remote, zero-interaction path. The crafted file must specifically contain an MHDR header, a DHDR chunk, and a multi-record ORDR chunk so that the ORDR entry buffer, allocated based on 5-byte on-wire records, is overrun by the larger 8-byte in-memory entries. Limiting factors: the vector is local/file-based, user interaction is mandatory, and the target must actually route untrusted MNG data through the vulnerable code path; environments that do not process the obsolete MNG format or have upgraded past 2.0.3 are not exposed. |
| Impact | The input CVSS 4.0 base score is 6.9 (Medium) with vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H. The dominant impact is availability (VA:H) - a heap corruption that crashes the consuming application - with only low integrity impact (VI:L) and no confidentiality impact (VC:N); despite the CWE-131 buffer-size miscalculation, the provided data describes memory corruption and a crash, not confirmed arbitrary code execution. The vector is local (AV:L) and requires passive user interaction (UI:P), meaning a victim must open or process an attacker-supplied MNG file through an application that calls mng_read or mng_readdisplay - this is not remote, unauthenticated, network-reachable exploitation and is not automatable at scale. Publicly available exploit code exists (a hackmd write-up referenced by VulnCheck), which raises the practical likelihood of reliable crash reproduction, but there is no CISA KEV listing and no EPSS score was provided, so there is no evidence of active in-the-wild exploitation. EPSS is missing from the input and cannot be assessed; its absence is not evidence either way. Net assessment: a real but moderate-priority memory-safety bug - the public POC and clear root cause justify patching, but the local/user-interaction requirement and crash-dominant (rather than RCE-confirmed) impact keep this well below emergency priority. |
| Exploit ScenarioDerived | An attacker crafts a malicious MNG image containing MHDR, DHDR, and a multi-record ORDR chunk and delivers it to a victim (e.g., via email, web content, or a file share). When the victim opens the file in an application that uses libmng ≤2.0.3 and calls mng_read or mng_readdisplay, the undersized ORDR buffer is overwritten past its allocation, corrupting the heap and crashing the application. A public proof-of-concept write-up demonstrating the out-of-bounds write already exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 18, 2026
Heap-based buffer overflow in libmng through 2.0.3 allows a crafted MNG file containing MHDR, DHDR, and a multi-record ORDR chunk to overwrite heap memory when an application calls mng_read or mng_readdisplay, producing attacker-controlled out-of-bounds writes and likely application crashes. The attack is local/file-based and requires the victim to open or process the malicious MNG (UI:P), with no confidentiality impact and limited integrity impact but high availability impact. Publicly available exploit code exists; no confirmed active exploitation (CISA KEV) is indicated in the supplied data.
RemediationAI
No vendor-released patch identified at time of analysis; the supplied references point to the SourceForge libmng project and the 2.0.3 release, not to a fixed version. Track the project and the VulnCheck advisory for a patched libmng release and upgrade as soon as one is published. Until then, avoid opening or processing untrusted MNG files: disable MNG decoding or remove libmng support in applications that do not require it (breaks MNG display functionality), and block or quarantine MNG attachments/uploads at ingress (may affect legitimate image workflows). Where MNG processing is unavoidable, run the decoder in a sandbox or low-privilege process and restrict access to applications that call mng_read or mng_readdisplay on user-supplied files; these measures reduce exposure but do not correct the undersized ORDR allocation.
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
libmng is a library for decoding and displaying MNG (Multiple-image Network Graphics) files. The flaw is in mng_read_ordr(), the ORDR chunk reader: ORDR records are serialized on the wire with a 5-byte record size, but the library's in-memory representation uses 8-byte entries, so the allocation is calculated from the smaller on-wire size and a multi-record ORDR chunk causes an undersized heap allocation. This is CWE-131 (Incorrect Calculation of Buffer Size), and the resulting heap overflow lets attacker-controlled bytes be written past the buffer. Reaching the vulnerable path requires a crafted file with MHDR, DHDR, and ORDR chunks processed by an application using mng_read or mng_readdisplay. CPE data identifies libmng itself as the affected component, with affected versions through 2.0.3.
Know when Libmng 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:L/VA:H/SC:N/SI:N/SA:N
File must be opened locally by a victim, so AV:L and UI:R with PR:N; impact is crash-driven (A:H) with minor heap-corruption integrity effect (I:L) and no confidentiality loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
libmng through 2.0.3 contains a heap-based buffer overflow vulnerability in mng_read_ordr() that allows attackers to corrupt heap memory because ORDR entry buffers are sized by 5-byte on-wire records instead of 8-byte in-memory entries. Attackers can supply a crafted MNG file with MHDR, DHDR and a multi-record ORDR chunk to applications calling mng_read or mng_readdisplay, writing attacker-controlled data past the allocation and crashing the application.
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.
EUVD-2026-103461
GHSA-xx2v-hjr6-76fh
NVD
CVE.org
Exploit-DB