CVE-2026-112008libmng through 2.0.3 Heap Buffer Overflow via ORDR Chunk Reader mng_read_ordr
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
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libmng | Fix pending | UBUNTU-CVE-2026-112008 | |
| Ubuntu 26.04 | libmng | Under investigation | UBUNTU-CVE-2026-112008 | |
| Ubuntu 24.04 | libmng | Under investigation | UBUNTU-CVE-2026-112008 | |
| Ubuntu 22.04 | libmng | Under investigation | UBUNTU-CVE-2026-112008 | |
| Ubuntu 20.04 | libmng | Fix pending | UBUNTU-CVE-2026-112008 | |
| Ubuntu 18.04 | libmng | Fix pending | UBUNTU-CVE-2026-112008 | |
| Ubuntu 16.04 | libmng | Fix pending | UBUNTU-CVE-2026-112008 | |
| Debian 14 | libmng | Fix pending | DEBIAN-CVE-2026-112008 | |
| Debian 13 | libmng | Fix pending | DEBIAN-CVE-2026-112008 | |
| Debian 12 | libmng | Fix pending | DEBIAN-CVE-2026-112008 | |
| Red Hat Enterprise Linux 10 | libmng | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libmng-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libmng | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libmng-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libmng | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libmng-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libmng | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libmng-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libmng | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | libmng-devel | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libmng: affected: up to 2.0.3
References
- https://hackmd.io/@haindpwn/libmng-ordr-chunk-store-oob-write
- https://sourceforge.net/projects/libmng/files/libmng-devel/2.0.3/
- https://sourceforge.net/projects/libmng/
- https://www.vulncheck.com/advisories/libmng-through-2.0.3-heap-buffer-overflow-via-ordr-chunk-reader-mng-read-ordr
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.