CVE-2018-20004
HIGH 8.8 ALL-YEARSAn issue has been found in Mini-XML (aka mxml) 2.12. It is a stack-based buffer overflow in mxml_write_node in mxml-file.c via vectors involving a double-precision floating point number and the '<order type="real">' substring, as demonstrated by testmxml.
Severe if exploited (CVSS 8.8); current sources show no confirmed exploitation. Consider exposure and affected versions when prioritizing remediation.
Exploitation likelihood
2.0%chance of exploitation in 30 days · 81st percentile
Impact if exploited
8.8CVSS 3.1 · HIGH · NVD
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ⚠User interaction: A user must take an action (click / open a file)
- ✓Complexity: No special conditions — reliably repeatable
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-787: Out-of-bounds write
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References and research data (JSON) · Change history
Vendor product assessments
All currently supported Red Hat products · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
Red Hat · CVE-2018-20004 · Updated 2025-11-21T17:09:37+00:00
Unverified PoC candidates
Publisher-linked references and catalogue matches for further research. Candidate links do not establish public PoC availability. Their availability and exploit execution have not been verified by Vulnpedia.
2 candidates
- https://github.com/fouzhe/security/tree/master/mxml#stack-buffer-overflow-in-function-mxml_write_node
Primary CVE reference tagged exploit · CVE-2018-20004 · Unverified candidate
NVD · CVE-2018-20004 · Updated 2026-06-17T01:52:08.983 - https://github.com/michaelrsweet/mxml/issues/233
Primary CVE reference tagged exploit · CVE-2018-20004 · Unverified candidate
NVD · CVE-2018-20004 · Updated 2026-06-17T01:52:08.983
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Mini-Xml Project | Mini-Xml | 2.12 |
| Debian | Debian Linux | 8.0 |
| Fedoraproject | Fedora | 28 |
| Fedoraproject | Fedora | 29 |
All CVSS metrics
- HIGH 8.8 v3.1 · NVD Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - MEDIUM 6.8 v2.0 · NVD Primary
AV:N/AC:M/Au:N/C:P/I:P/A:P
References
Exploit-tagged references (not proof of a PoC)
- https://github.com/fouzhe/security/tree/master/mxml#stack-buffer-overflow-in-function-mxml_write_node CVE record · CVE · Updated 2024-08-05T11:51:18.072Z
CVE record · mitre · Updated 2019-03-30T01:06:08.000Z
NVD · CVE-2018-20004 · Updated 2026-06-17T01:52:08.983 - https://github.com/michaelrsweet/mxml/issues/233 CVE record · CVE · Updated 2024-08-05T11:51:18.072Z
CVE record · mitre · Updated 2019-03-30T01:06:08.000Z
NVD · CVE-2018-20004 · Updated 2026-06-17T01:52:08.983
Advisories
- https://lists.debian.org/debian-lts-announce/2019/01/msg00018.html CVE record · CVE · Updated 2024-08-05T11:51:18.072Z
CVE record · mitre · Updated 2019-03-30T01:06:08.000Z
NVD · CVE-2018-20004 · Updated 2026-06-17T01:52:08.983 - https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N53IJHDYR5HVQLKH4J6B27OEQLGKSGY5/ CVE record · CVE · Updated 2024-08-05T11:51:18.072Z
CVE record · mitre · Updated 2019-03-30T01:06:08.000Z
NVD · CVE-2018-20004 · Updated 2026-06-17T01:52:08.983 - https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RNWF6BAU7S42O4LE4B74KIMHFE2HDNMI/ CVE record · CVE · Updated 2024-08-05T11:51:18.072Z
CVE record · mitre · Updated 2019-03-30T01:06:08.000Z
NVD · CVE-2018-20004 · Updated 2026-06-17T01:52:08.983 - https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-20004.json Red Hat · CVE-2018-20004 · Updated 2025-11-21T17:09:37+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-12582 EUVD · EUVD-2018-12582
Technical & other
- https://access.redhat.com/security/cve/CVE-2018-20004 Red Hat · CVE-2018-20004 · Updated 2025-11-21T17:09:37+00:00
- https://www.cve.org/CVERecord?id=CVE-2018-20004 Red Hat · CVE-2018-20004 · Updated 2025-11-21T17:09:37+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS