{"id":"CVE-2018-20004","aliases":["DEBIAN-CVE-2018-20004","DLA-1641-1","EUVD-2018-12582","GHSA-m996-pmvg-j3g8","MGASA-2019-0159","UBUNTU-CVE-2018-20004"],"status":"published","title":"An issue has been found in Mini-XML (aka mxml) 2.12. It is a stack-based buffer overflow in...","description":"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 '\u003corder type=\"real\"\u003e' substring, as demonstrated by testmxml.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02025,"percentile":0.81136,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2018-12-10T06:00:00Z","modified":"2026-10-23T18:03:04Z","fixes":[{"ecosystem":"Debian:12","package":"mxml","fixed_in":["2.12-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"mxml","fixed_in":["2.12-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"mxml","fixed_in":["2.12-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"mxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.12-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"mxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.12-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"mxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.12-2"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"mxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-2+deb8u1"}]}],"versions":["2.6-2"],"bundled":3},{"source":"osv","ecosystem":"Mageia:6","package":"mxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0-1.mga6"}]}],"bundled":4},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7-1","2.9-0ubuntu1","2.9-0ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mxml","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10-1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"mini-xml_project","product":"mini-xml"}],"references":[{"url":"https://github.com/michaelrsweet/mxml/issues/233","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/01/msg00018.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Third Party Advisory","advisory"]},{"url":"https://github.com/fouzhe/security/tree/master/mxml#stack-buffer-overflow-in-function-mxml_write_node","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N53IJHDYR5HVQLKH4J6B27OEQLGKSGY5/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RNWF6BAU7S42O4LE4B74KIMHFE2HDNMI/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-20004"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N53IJHDYR5HVQLKH4J6B27OEQLGKSGY5/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RNWF6BAU7S42O4LE4B74KIMHFE2HDNMI/"},{"url":"https://github.com/advisories/GHSA-m996-pmvg-j3g8"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-20004","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0159.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=24583","tags":["report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/N53IJHDYR5HVQLKH4J6B27OEQLGKSGY5/","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2018-20004","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-20004","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-20004","description":"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 '\u003corder type=\"real\"\u003e' substring, as demonstrated by testmxml.","status":"published","published":"2018-12-10T06:00:00Z","modified":"2024-08-05T11:51:18.072Z","updated_at":"2026-11-02T14:34:59.872731Z"}],"euvd":[{"id":"EUVD-2018-12582","description":"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 '\u003corder type=\"real\"\u003e' substring, as demonstrated by testmxml.","status":"published","published":"2018-12-10T06:00:00Z","modified":"2024-08-05T11:51:18Z","updated_at":"2026-11-03T02:39:31.9745Z"}],"ghsa":[{"id":"GHSA-m996-pmvg-j3g8","title":"An issue has been found in Mini-XML (aka mxml) 2.12. It is a stack-based buffer overflow in...","description":"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 '\u003corder type=\"real\"\u003e' substring, as demonstrated by testmxml.","status":"published","published":"2022-05-13T01:19:50Z","modified":"2023-02-01T05:05:44Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:50:16.912878Z"}],"nvd":[{"id":"CVE-2018-20004","description":"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 '\u003corder type=\"real\"\u003e' substring, as demonstrated by testmxml.","status":"published","published":"2018-12-10T06:29:00.303Z","modified":"2026-06-17T01:52:08.983Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:04:49.995593Z"}],"osv":[{"id":"CVE-2018-20004","description":"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 '\u003corder type=\"real\"\u003e' substring, as demonstrated by testmxml.","status":"published","published":"2018-12-10T06:29:00.303Z","modified":"2026-10-20T10:50:05.641441652Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:09.145458Z"},{"id":"DEBIAN-CVE-2018-20004","description":"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 '\u003corder type=\"real\"\u003e' substring, as demonstrated by testmxml.","status":"published","published":"2018-12-10T06:29:00.303Z","modified":"2026-10-23T18:03:04.626237991Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.57382Z"},{"id":"UBUNTU-CVE-2018-20004","description":"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 '\u003corder type=\"real\"\u003e' substring, as demonstrated by testmxml.","status":"published","published":"2018-12-10T06:29:00Z","modified":"2026-04-22T11:27:57.151783Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:17.91743Z"},{"id":"DLA-1641-1","title":"mxml - security update","status":"published","published":"2019-01-25T00:00:00Z","modified":"2026-03-09T01:21:40.273184Z","updated_at":"2026-11-02T15:46:09.777694Z"},{"id":"MGASA-2019-0159","title":"Updated mxml packages fix security vulnerabilities","description":"Updated mxml packages fix security vulnerabilities:\n\nAn issue has been found in Mini-XML (aka mxml) 2.12. It is a stack-based\nbuffer overflow in mxml_write_node in mxml-file.c via vectors involving\na double-precision floating point number and the '\u003corder type=\"real\"\u003e'\nsubstring, as demonstrated by testmxml (CVE-2018-20004).\n\nAn issue has been found in Mini-XML (aka mxml) 2.12. It is a\nuse-after-free in mxmlWalkNext in mxml-search.c, as demonstrated by\nmxmldoc (CVE-2018-20005).\n\nIn Mini-XML (aka mxml) v2.12, there is a use-after-free in the mxmlAdd\nfunction of the mxml-node.c file. Remote attackers could leverage this\nvulnerability to cause a denial-of-service via a crafted xml file, as\ndemonstrated by mxmldoc (CVE-2018-20592).\n\nIn Mini-XML (aka mxml) v2.12, there is stack-based buffer overflow in\nthe scan_file function in mxmldoc.c (CVE-2018-20593).\n","status":"published","published":"2019-05-12T09:35:33Z","modified":"2026-04-16T04:43:10.700987994Z","updated_at":"2026-11-02T15:49:40.793816Z"}]}}
