Medium
mxml — security advisory
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.
- Products
- mxml
- Affected versions
- 2.10-1, 2.12-2, 2.7-1, 2.9-0ubuntu1, 2.9-0ubuntu2, 3.1-1, 3.2-1, 3.3-1, 3.3.1-1, 3.3.1-1build1, 3.3.1-1build2, 4.0.4-6
- Fixed versions
- Not specified
- CVEs
- CVE-2018-20592
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:29 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2018-20592
mxml
Fixed versions: Not specified
mxml
Fixed versions: Not specified
mxml
Fixed versions: Not specified
mxml
Fixed versions: Not specified
mxml
Fixed versions: Not specified
mxml
Fixed versions: Not specified
mxml
Fixed versions: Not specified
mxml
Fixed versions: Not specified
Complete source record
{
"id": "fb56641068b609c09d088352f710a2db1793181bcfaf070a202ad9515cd906bd",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2018-20592",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2018-20592",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2018-20592",
"products": [
{
"name": {
"value": "mxml",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.7-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.9-0ubuntu1",
"evidence": "/affected/0/versions"
},
{
"value": "2.9-0ubuntu2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "mxml",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.10-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "mxml",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.12-2",
"evidence": "/affected/2/versions"
},
{
"value": "3.1-1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "mxml",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.2-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.3-1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "mxml",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.3.1-1",
"evidence": "/affected/4/versions"
},
{
"value": "3.3.1-1build1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "mxml",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.3.1-1build1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "mxml",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.3.1-1build2",
"evidence": "/affected/6/versions"
},
{
"value": "4.0.4-6",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "mxml",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.3.1-1build1",
"evidence": "/affected/7/versions"
},
{
"value": "3.3.1-1build2",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2018-20592",
"aliases": [
"UBUNTU-CVE-2018-20592"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mxml",
"purl": "pkg:deb/ubuntu/mxml?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"2.7-1",
"2.9-0ubuntu1",
"2.9-0ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20592.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmxml1",
"binary_version": "2.9-0ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mxml",
"purl": "pkg:deb/ubuntu/mxml?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"2.10-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20592.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmxml-bin",
"binary_version": "2.10-1"
},
{
"binary_name": "libmxml1",
"binary_version": "2.10-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mxml",
"purl": "pkg:deb/ubuntu/mxml?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.12-2",
"3.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20592.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmxml1",
"binary_version": "3.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mxml",
"purl": "pkg:deb/ubuntu/mxml?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"3.2-1",
"3.3-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20592.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmxml1",
"binary_version": "3.3-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mxml",
"purl": "pkg:deb/ubuntu/mxml?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"3.3.1-1",
"3.3.1-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20592.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmxml1",
"binary_version": "3.3.1-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mxml",
"purl": "pkg:deb/ubuntu/mxml?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"3.3.1-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20592.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmxml1",
"binary_version": "3.3.1-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mxml",
"purl": "pkg:deb/ubuntu/mxml?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.3.1-1build2",
"4.0.4-6"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20592.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmxml4",
"binary_version": "4.0.4-6"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "mxml",
"purl": "pkg:deb/ubuntu/mxml?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"3.3.1-1build1",
"3.3.1-1build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20592.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libmxml1",
"binary_version": "3.3.1-1build2"
}
]
}
}
],
"modified": "2026-10-17T12:55:25.693749142Z",
"provider": "osv",
"upstream": [
"CVE-2018-20592"
],
"references": [
"https://ubuntu.com/security/CVE-2018-20592",
"https://github.com/ntu-sec/pocs/blob/master/mxml-53c75b0/crashes/uaf_mxml-node.c:128_1.txt",
"https://github.com/ntu-sec/pocs/blob/master/mxml-53c75b0/crashes/uaf_mxml-node.c:128_1.txt.err",
"https://github.com/ntu-sec/pocs/blob/master/mxml-53c75b0/crashes/uaf_mxml-node.c:128_2.txt",
"https://github.com/ntu-sec/pocs/blob/master/mxml-53c75b0/crashes/uaf_mxml-node.c:128_2.txt.err",
"https://github.com/michaelrsweet/mxml/issues/237",
"https://www.cve.org/CVERecord?id=CVE-2018-20592"
]
},
"related_cves": [
{
"value": "CVE-2018-20592",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 353747,
"published_at": "2018-12-30T18:29:00+00:00"
}