Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-112008 EUVD-2026-103461GHSA-xx2v-hjr6-76fh

libmng through 2.0.3 Heap Buffer Overflow via ORDR Chunk Reader mng_read_ordr

Published Oct 18, 2026 · Updated Oct 19, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
libmng libmng ≤ 2.0.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libmng No fix yet —
Debian 13 libmng No fix yet —
Debian 12 libmng No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libmng No fix yet —
Ubuntu 26.04 LTS libmng No fix yet —
Ubuntu 24.04 LTS libmng No fix yet —
Ubuntu 22.04 LTS libmng No fix yet —
Ubuntu 20.04 LTS libmng No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libmng No fix yet —
Ubuntu 16.04 LTS libmng No fix yet —

References