CVE-2018-20592
In Mini-XML (aka mxml) v2.12, there is a use-after-free in the mxmlAdd function of the mxml-node...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2018-20592- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-416
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2018-20592- Updated
- 2026-11-02
EUVDEUVD-2018-13145 No score
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.
- Record
EUVD-2018-13145- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5j9x-g954-9jrp
5.5
In Mini-XML (aka mxml) v2.12, there is a use-after-free in the mxmlAdd function of the mxml-node...
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.
- Record
GHSA-5j9x-g954-9jrp- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-416
- Updated
- 2026-11-02
OSV
5.5
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.
- Record
CVE-2018-20592- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-20592
5.5
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.
- Record
DEBIAN-CVE-2018-20592- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-20592
5.5
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.
- Record
UBUNTU-CVE-2018-20592- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/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 3.0-1 | 3.0-1 |
mxmlDebian:13 |
before 3.0-1 | 3.0-1 |
mxmlDebian:14 |
before 3.0-1 | 3.0-1 |
mxmlMageia:6 From an advisory covering 4 CVEs |
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 |
mxmlUbuntu:20.04:LTS |
All versions, plus listed versions 2.12-23.1-1 |
None known |
mxmlUbuntu:22.04:LTS |
All versions, plus listed versions 3.2-13.3-1 |
None known |
mxmlUbuntu:24.04:LTS |
All versions, plus listed versions 3.3.1-13.3.1-1build1 |
None known |
mxmlUbuntu:25.10 |
All versions, plus listed versions 3.3.1-1build1 |
None known |
mxmlUbuntu:26.10 |
All versions, plus listed versions 3.3.1-1build24.0.4-6 |
None known |
mxmlUbuntu:26.04:LTS |
All versions, plus listed versions 3.3.1-1build13.3.1-1build2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-20592 is a medium vulnerability (CVSS 5.5) in Msweet Mini-xml, published December 30, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.49%, the 74th percentile. Fixed in mxml 3.0-1.
References
github.com/ntu-sec/pocs/blob/master/mxml-53c75b0/crashes/uaf_mxml-node.c:128_1.txt.err
github.com/ntu-sec/pocs/blob/master/mxml-53c75b0/crashes/uaf_mxml-node.c:128_2.txt.err
github.com/michaelrsweet/mxml/issues/237
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-20592
Show 11 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/N53IJHDYR5HVQLKH4J6B27OEQLGKSGY5
lists.fedoraproject.org/archives/list/[email protected]/message/RNWF6BAU7S42O4LE4B74KIMHFE2HDNMI
github.com/advisories/GHSA-5j9x-g954-9jrp
security-tracker.debian.org/tracker/CVE-2018-20592
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-20592
github.com/ntu-sec/pocs/blob/master/mxml-53c75b0/crashes/uaf_mxml-node.c:128_1.txt
github.com/ntu-sec/pocs/blob/master/mxml-53c75b0/crashes/uaf_mxml-node.c:128_2.txt
cve.org/CVERecord?id=CVE-2018-20592