What’s Vulnerable › Vulnerabilities
CVE-2026-112008: libmng through 2.0.3 Heap Buffer Overflow via ORDR Chunk Reader mng_read_ordr
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-18 · updated 2026-10-19
- Weakness: CWE-131
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.
Affected products
- libmng: through 2.0.3
References
- https://hackmd.io/@haindpwn/libmng-ordr-chunk-store-oob-write
- https://sourceforge.net/projects/libmng/
- https://sourceforge.net/projects/libmng/files/libmng-devel/2.0.3/
- https://www.vulncheck.com/advisories/libmng-through-2.0.3-heap-buffer-overflow-via-ordr-chunk-reader-mng-read-ordr
Get alerted when CVE-2026-112008 or the next vulnerability affects your stack