CVE-2026-112008 PUBLISHED

libmng through 2.0.3 Heap Buffer Overflow via ORDR Chunk Reader mng_read_ordr

Assigner: VulnCheck
Reserved: 18.10.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

Vendor libmng
Product libmng
Versions Default: unaffected
  • affected from 0 to 2.0.3 (incl.)

Credits

  • HaiND from the Post and Telecommunication Institute of Technology finder

References

Problem Types

  • Incorrect Calculation of Buffer Size CWE