{"id":"UBUNTU-CVE-2018-20004","details":"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.","modified":"2026-04-22T11:27:57.151783Z","published":"2018-12-10T06:29:00Z","upstream":["CVE-2018-20004"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20004"},{"type":"REPORT","url":"https://github.com/michaelrsweet/mxml/issues/233"},{"type":"REPORT","url":"https://github.com/fouzhe/security/tree/master/mxml#stack-buffer-overflow-in-function-mxml_write_node"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20004"}],"affected":[{"package":{"name":"mxml","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mxml@2.9-0ubuntu2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7-1","2.9-0ubuntu1","2.9-0ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libmxml1","binary_version":"2.9-0ubuntu2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20004.json"}},{"package":{"name":"mxml","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mxml@2.10-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmxml-bin","binary_version":"2.10-1"},{"binary_name":"libmxml1","binary_version":"2.10-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20004.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}