Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-112094 Overview
CVE-2026-112094 is a use-after-free vulnerability in the Mini-XML (mxml) library versions 4.0.5 and 4.0.6, maintained by Michael R Sweet. The flaw resides in the mxml_load_data function within mxml-file.c. An attacker can trigger the condition remotely by supplying crafted XML input to an application that links against the vulnerable library. A public proof-of-concept exists, and the project maintainer had not responded to the upstream issue report at the time of disclosure. The weakness is classified as CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer).
Critical Impact
Successful exploitation can corrupt heap memory in applications that parse untrusted XML with mxml, potentially leading to crashes or memory disclosure.
Affected Products
- michaelrsweet mxml 4.0.5
- michaelrsweet mxml 4.0.6
- Downstream software linking against vulnerable mxml builds
Discovery Timeline
- 2026-10-19 - CVE-2026-112094 published to the National Vulnerability Database
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-112094
Vulnerability Analysis
The vulnerability occurs inside mxml_load_data, the core routine that parses XML streams in Mini-XML. During parsing, the function manages dynamically allocated node structures that represent the XML tree. Under specific error-handling paths, a node is freed while a pointer to that same allocation remains reachable later in the parsing flow. Subsequent dereferences read or write memory that has already been returned to the allocator.
Use-after-free conditions in XML parsers are notable because the attacker controls both the structure and timing of allocations. By shaping the input document, an attacker can influence which objects occupy the freed region before it is reused. The resulting behavior ranges from a controlled crash to memory disclosure or, in favorable allocator states, control-flow influence. Because mxml is embedded in print spoolers, firmware tools, and configuration utilities, downstream impact depends on the host application's privilege level and input exposure.
Root Cause
The root cause is improper lifetime management of allocated XML node objects within mxml_load_data in mxml-file.c. Error-recovery branches release memory without clearing or re-synchronizing the pointers that reference it, leaving dangling references that are later used by the parser.
Attack Vector
An attacker delivers a malformed XML document to any application that calls into mxml's loader. Delivery can occur over the network when the host application accepts remote XML (for example, through configuration downloads or document ingestion). User interaction is typically required to open or submit the document. No authentication is required beyond the privileges the targeted application already requires from the user.
No verified exploit code is published here. A proof-of-concept archive is referenced from the upstream issue tracker at GitHub Issue #358 for MXML.
Detection Methods for CVE-2026-112094
Indicators of Compromise
- Unexpected crashes or segmentation faults in processes that link against libmxml version 4.0.5 or 4.0.6.
- Heap corruption signatures in crash dumps that reference the mxml_load_data symbol or mxml-file.c frames.
- Receipt of malformed or truncated XML documents from untrusted sources immediately prior to a process crash.
Detection Strategies
- Inventory binaries and containers for the presence of libmxml.so.4.0.5 or libmxml.so.4.0.6 and flag matches for patching.
- Enable AddressSanitizer or similar runtime memory checkers in test environments to surface use-after-free events during XML parsing fuzzing.
- Hunt endpoint telemetry for repeated child-process crashes in applications known to embed mxml, correlated with inbound XML content.
Monitoring Recommendations
- Collect and retain core dumps from processes that parse external XML so incident responders can confirm the faulting frame.
- Forward application and crash telemetry to a centralized data lake and alert on recurring faults within mxml stack frames.
- Monitor package managers and software bills of materials for drift that reintroduces vulnerable mxml versions.
How to Mitigate CVE-2026-112094
Immediate Actions Required
- Identify all first-party and third-party software that bundles Mini-XML 4.0.5 or 4.0.6 and prioritize those exposed to untrusted XML input.
- Apply the community patch referenced from the upstream issue tracker to affected builds and rebuild dependent packages.
- Restrict the sources from which affected applications accept XML documents until patched versions are deployed.
Patch Information
A community-supplied patch covering issues #354 through #358 is attached to the upstream issue tracker as mxml-fix-354-358.patch. At the time of CVE publication the upstream maintainer had not merged a fix, so distributions and vendors should backport the patch to their packaging of Mini-XML 4.0.5 and 4.0.6. Track upstream progress through the GitHub MXML Project Repository.
Workarounds
- Validate XML inputs with a stricter upstream parser or schema check before passing content to mxml.
- Run XML-processing components under reduced privileges and with sandboxing such as seccomp or AppArmor to contain exploitation.
- Reject XML documents originating from untrusted networks at the application boundary until a patched build is deployed.
# Configuration example: locate vulnerable mxml libraries on Linux hosts
find / -type f \( -name 'libmxml.so*' -o -name 'mxml*.a' \) 2>/dev/null \
| xargs -r -I{} sh -c 'echo "{}:"; strings "{}" | grep -E "Mini-XML v?4\.0\.[56]"'
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

