Vulnerability in Libmng
CVE-2026-112008
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.
Published .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- hackmd.io/@haindpwn/libmng-ordr-chunk-store-oob-write (technical-description, exploit)
- sourceforge.net/projects/libmng/files/libmng-devel/2.0.3/ (product)
- sourceforge.net/projects/libmng/ (product)
- www.vulncheck.com/advisories/libmng-through-2.0.3-heap-buffer-overflow-via-ordr… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-112008?
- CVE-2026-112008 is a medium-severity vulnerability in Libmng, classified under Incorrect Calculation of Buffer Size. CVSS score: 6.1/10. Published 2026-10-18.
- How severe is CVE-2026-112008?
- Medium severity. CVSS v3 base score is 6.1 out of 10.