{"id":"UBUNTU-CVE-2020-12460","details":"OpenDMARC through 1.3.2 and 1.4.x through 1.4.0-Beta1 has improper null termination in the function opendmarc_xml_parse that can result in a one-byte heap overflow in opendmarc_xml when parsing a specially crafted DMARC aggregate report. This can cause remote memory corruption when a '\\0' byte overwrites the heap metadata of the next chunk and its PREV_INUSE flag.","modified":"2026-04-22T12:27:43.563124Z","published":"2020-07-27T23:15:00Z","related":["USN-6356-1"],"upstream":["CVE-2020-12460"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-12460"},{"type":"REPORT","url":"https://github.com/trusteddomainproject/OpenDMARC/issues/64"},{"type":"REPORT","url":"https://sourceforge.net/projects/opendmarc/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6356-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-12460"}],"affected":[{"package":{"name":"opendmarc","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/opendmarc@1.3.1+dfsg-3ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1+dfsg-3ubuntu0.1~esm1"}]}],"versions":["1.3.1+dfsg-2","1.3.1+dfsg-3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"1.3.1+dfsg-3ubuntu0.1~esm1","binary_name":"libopendmarc2"},{"binary_name":"opendmarc","binary_version":"1.3.1+dfsg-3ubuntu0.1~esm1"},{"binary_name":"rddmarc","binary_version":"1.3.1+dfsg-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12460.json"}},{"package":{"name":"opendmarc","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/opendmarc@1.3.2-3ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-3ubuntu0.2"}]}],"versions":["1.3.2-2","1.3.2-3","1.3.2-3ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libopendmarc2","binary_version":"1.3.2-3ubuntu0.2"},{"binary_name":"opendmarc","binary_version":"1.3.2-3ubuntu0.2"},{"binary_name":"rddmarc","binary_version":"1.3.2-3ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12460.json"}},{"package":{"name":"opendmarc","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/opendmarc@1.3.2-7ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-7ubuntu0.1"}]}],"versions":["1.3.2-6","1.3.2-7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libopendmarc2","binary_version":"1.3.2-7ubuntu0.1"},{"binary_name":"opendmarc","binary_version":"1.3.2-7ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-12460.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}