CVE-2026-112008
libmng through 2.0.3 Heap Buffer Overflow via ORDR Chunk Reader mng_read_ordr
- State
- Published
- Severity
- 6.9 Medium
- Published
- Oct 18, 2026
- Updated
- Oct 19, 2026
- Reserved
- Oct 18, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | 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 | VulnCheck |
| 3.1 | 6.1 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H | VulnCheck |
Weaknesses
- CWE-131 Incorrect Calculation of Buffer Size
Affected Products
| Product | Versions |
|---|---|
libmnglibmng |
|
References
- https://hackmd.io/@haindpwn/libmng-ordr-chunk-store-oob-writetechnical-descriptionexploit
- https://sourceforge.net/projects/libmng/files/libmng-devel/2.0.3/product
- https://sourceforge.net/projects/libmng/product
- VulnCheck Advisory: libmng through 2.0.3 Heap Buffer Overflow via ORDR Chunk Reader mng_read_ordrthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.