CVE-2018-20004
An issue has been found in Mini-XML (aka mxml) 2.12. It is a stack-based buffer overflow in...
CVE-2018-20004 is a high vulnerability (CVSS 8.8) in Mini-xml Project Mini-xml, published December 10, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.02%, the 81st percentile. Fixed in mxml 2.12-2.
An 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
An 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.
- Record
CVE-2018-20004- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
An 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.
- Record
CVE-2018-20004- Updated
- 2026-11-02
EUVDEUVD-2018-12582 No score
An 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.
- Record
EUVD-2018-12582- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-m996-pmvg-j3g8
8.8
An issue has been found in Mini-XML (aka mxml) 2.12. It is a stack-based buffer overflow in...
An 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.
- Record
GHSA-m996-pmvg-j3g8- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
8.8
An 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.
- Record
CVE-2018-20004- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-20004
8.8
An 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.
- Record
DEBIAN-CVE-2018-20004- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-20004
8.8
An 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.
- Record
UBUNTU-CVE-2018-20004- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2019-0159 No score
Updated mxml packages fix security vulnerabilities
Updated mxml packages fix security vulnerabilities:
An 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 (CVE-2018-20004).
An issue has been found in Mini-XML (aka mxml) 2.12. It is a use-after-free in mxmlWalkNext in mxml-search.c, as demonstrated by mxmldoc (CVE-2018-20005).
In Mini-XML (aka mxml) v2.12, there is a use-after-free in the mxmlAdd function of the mxml-node.c file. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted xml file, as demonstrated by mxmldoc (CVE-2018-20592).
In Mini-XML (aka mxml) v2.12, there is stack-based buffer overflow in the scan_file function in mxmldoc.c (CVE-2018-20593).
- Record
MGASA-2019-0159- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mxmlDebian:12 |
before 2.12-2 | 2.12-2 |
mxmlDebian:13 |
before 2.12-2 | 2.12-2 |
mxmlDebian:14 |
before 2.12-2 | 2.12-2 |
mxmlDebian:8 |
before 2.6-2+deb8u1, plus listed versions 2.6-2 |
2.6-2+deb8u1 |
mxmlMageia:6 |
before 3.0-1.mga6 | 3.0-1.mga6 |
mxmlUbuntu:16.04:LTS |
All versions, plus listed versions 2.7-12.9-0ubuntu12.9-0ubuntu2 |
None known |
mxmlUbuntu:18.04:LTS |
All versions, plus listed versions 2.10-1 |
None known |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
github.com/michaelrsweet/mxml/issues/233
lists.debian.org/debian-lts-announce/2019/01/msg00018.html
github.com/fouzhe/security/tree/master/mxml
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N53IJHDYR5HVQLKH4J6B27OEQLGKSGY5
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RNWF6BAU7S42O4LE4B74KIMHFE2HDNMI
nvd.nist.gov/vuln/detail/CVE-2018-20004
Show 9 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/N53IJHDYR5HVQLKH4J6B27OEQLGKSGY5
lists.fedoraproject.org/archives/list/[email protected]/message/RNWF6BAU7S42O4LE4B74KIMHFE2HDNMI
github.com/advisories/GHSA-m996-pmvg-j3g8
security-tracker.debian.org/tracker/CVE-2018-20004
advisories.mageia.org/MGASA-2019-0159.html
bugs.mageia.org/show_bug.cgi?id=24583
lists.fedoraproject.org/archives/list/[email protected]/thread/N53IJHDYR5HVQLKH4J6B27OEQLGKSGY5
ubuntu.com/security/CVE-2018-20004
cve.org/CVERecord?id=CVE-2018-20004