High
Security advisory
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 '' substring, as demonstrated by testmxml.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-20004
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:18 UTC · Revision 1
Source evidence
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 '' substring, as demonstrated by testmxml.
osv:CVE-2018-20004
Complete source record
{
"id": "6f6b439a6b6c6a2e266ee7552c0df59da5728739f07797ce0e3e72d13efce184",
"url": "https://osv.dev/vulnerability/CVE-2018-20004",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-20004",
"summary": "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 '' substring, as demonstrated by testmxml.",
"evidence": "osv:CVE-2018-20004",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-20004",
"aliases": [
"CVE-2018-20004"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/michaelrsweet/mxml",
"type": "GIT",
"events": [
{
"introduced": "3aaa12c7d709d05286255d191998f29105dd407a"
},
{
"last_affected": "3aaa12c7d709d05286255d191998f29105dd407a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mini-xml_project:mini-xml:2.12:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.12"
},
{
"last_affected": "2.12"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.12",
"v2.12"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20004.json"
}
}
],
"modified": "2026-10-20T10:50:05.641441652Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N53IJHDYR5HVQLKH4J6B27OEQLGKSGY5/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RNWF6BAU7S42O4LE4B74KIMHFE2HDNMI/",
"https://lists.debian.org/debian-lts-announce/2019/01/msg00018.html",
"https://github.com/fouzhe/security/tree/master/mxml#stack-buffer-overflow-in-function-mxml_write_node",
"https://github.com/michaelrsweet/mxml/issues/233"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:28:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "28"
},
{
"last_affected": "28"
},
{
"introduced": "29"
},
{
"last_affected": "29"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-20004",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381257,
"published_at": "2018-12-10T06:29:00.303+00:00"
}