CVE-2020-12460
publishedOpenDMARC: improper null termination in function opendmarc_xml_parse leads to heap-buffer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | stretch | opendmarc | Advisory build | 1.3.2-2+deb9u3 | DLA-2639-1 |
| Ubuntu | bionic | libopendmarc2 | Advisory build | 1.3.2-3ubuntu0.2 | USN-6356-1 |
| Ubuntu | bionic | opendmarc | Advisory build | 1.3.2-3ubuntu0.2 | USN-6356-1 |
| Ubuntu | bionic | rddmarc | Advisory build | 1.3.2-3ubuntu0.2 | USN-6356-1 |
| Ubuntu | focal | libopendmarc2 | Advisory build | 1.3.2-7ubuntu0.1 | USN-6356-1 |
| Ubuntu | focal | opendmarc | Advisory build | 1.3.2-7ubuntu0.1 | USN-6356-1 |
| Ubuntu | xenial | libopendmarc2 | Advisory build | 1.3.1+dfsg-3ubuntu0.1~esm1 | USN-6356-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | xenial | opendmarc | Advisory build | 1.3.1+dfsg-3ubuntu0.1~esm1 | USN-6356-1 |
| Ubuntu | xenial | rddmarc | Advisory build | 1.3.1+dfsg-3ubuntu0.1~esm1 | USN-6356-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- https://github.com/trusteddomainproject/OpenDMARC/issues/64
- [debian-lts-announce] 20210425 [SECURITY] [DLA 2639-1] opendmarc security update https://lists.debian.org/debian-lts-announce/2021/04/msg00026.html
- FEDORA-2021-1ec3c5ed63 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2D4JGHMALEJEWWG56DKR5OZB22TK7W5B/
- FEDORA-2021-c1b846164e https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JHDKMCZGE3W4XBP76NLI2Q7IOZHXLD4A/
- FEDORA-2021-433e7d72ce https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KBOGOQOK3TIWWJV66MW5YWNRJAFFYGR5/
- GLSA-202011-02 https://security.gentoo.org/glsa/202011-02
- https://sourceforge.net/projects/opendmarc/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cabe47891b1118afc2a60efc3a292a623310f22b8d6dcd383e7ff5e42ca4b003
- Ingested
- 23 Sep 2026, 07:48:27 UTC
- Source record
- Official CVE record