libmng through 2.0.3 contains a heap-based buffer overflow vulnerability in mng_read_ordr() that allows attackers to corrupt heap memory because… (CVE-2026-112008)
Description
libmng versions through 2.0.3 have a heap-based buffer overflow vulnerability in the mng_read_ordr() function. This occurs because ORDR entry buffers are sized incorrectly, using 5-byte on-wire records instead of 8-byte in-memory entries. An attacker can craft a malicious MNG file containing MHDR, DHDR, and a multi-record ORDR chunk to trigger this overflow, potentially causing application crashes.
CVSS v3.1
Score 6.1medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in libmng up to version 2.0.3 is a heap-based buffer overflow in the mng_read_ordr() function. The root cause is that ORDR entry buffers are allocated based on 5-byte on-wire record sizes, while the actual in-memory entries require 8 bytes. This mismatch allows an attacker to supply a specially crafted MNG file with MHDR, DHDR, and multiple ORDR records, causing writes beyond the allocated buffer. This heap corruption can lead to application crashes when functions like mng_read or mng_readdisplay process the malicious file.
Potential Impact
Successful exploitation results in heap memory corruption and application crashes. The CVSS score of 6.1 (medium severity) reflects limited impact on confidentiality and integrity but high impact on availability. There is no indication of code execution or data disclosure from the provided data.
Mitigation Recommendations
No patch or official fix information is provided. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted MNG files or use alternative libraries.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-xx2v-hjr6-76fh
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-112008"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6ad4cb322cdf04f6566f5b06
Added to database: 10/18/2026, 13:35:46 UTC
Last enriched: 10/18/2026, 13:49:23 UTC
Last updated: 10/18/2026, 17:21:12 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.