CVE-2026-112008
libmng through 2.0.3 contains a heap-based buffer overflow …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- hackmd.io/@haindpwn/libmng-ordr-chunk-store-oob-write
- sourceforge.net/projects/libmng/
- sourceforge.net/projects/libmng/files/libmng-devel/2.0.3/
- www.vulncheck.com/advisories/libmng-through-2.0.3-heap-buffer-overflow-via-ordr-chunk-read
- nvd.nist.gov/vuln/detail/CVE-2026-112008
- cve.org/CVERecord?id=CVE-2026-112008
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.