{"id":"UBUNTU-CVE-2018-20005","details":"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.","modified":"2026-05-20T16:06:11.380587519Z","published":"2018-12-10T06:29:00Z","upstream":["CVE-2018-20005"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20005"},{"type":"REPORT","url":"https://github.com/michaelrsweet/mxml/issues/234"},{"type":"REPORT","url":"https://github.com/fouzhe/security/tree/master/mxml#heap-use-after-free-in-function-mxmlwalknext"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20005"}],"affected":[{"package":{"name":"mxml","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/mxml?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-20005.json"}},{"package":{"name":"mxml","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/mxml?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.10-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.10-1","binary_name":"libmxml-bin"},{"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-20005.json"}},{"package":{"name":"mxml","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/mxml?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.12-2","3.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmxml1","binary_version":"3.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20005.json"}},{"package":{"name":"mxml","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/mxml?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2-1","3.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmxml1","binary_version":"3.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20005.json"}},{"package":{"name":"mxml","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/mxml?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.1-1","3.3.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.3.1-1build1","binary_name":"libmxml1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20005.json"}},{"package":{"name":"mxml","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/mxml?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.1-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.3.1-1build1","binary_name":"libmxml1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20005.json"}},{"package":{"name":"mxml","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/mxml?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.1-1build1","3.3.1-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libmxml1","binary_version":"3.3.1-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20005.json"}}],"schema_version":"1.7.5","severity":[{"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"}]}