CVE-2020-12460
OpenDMARC through 1.3.2 and 1.4.x through 1.4.0-Beta1 has improper null termination in the...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2020-12460- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-12460- Updated
- 2026-11-02
EUVDEUVD-2020-4769 No score
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.
- Record
EUVD-2020-4769- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8c3p-8wh2-8ggf
9.8
OpenDMARC through 1.3.2 and 1.4.x through 1.4.0-Beta1 has improper null termination in the...
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.
- Record
GHSA-8c3p-8wh2-8ggf- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2020-12460- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-12460
9.8
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.
- Record
DEBIAN-CVE-2020-12460- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-12460
9.8
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.
- Record
UBUNTU-CVE-2020-12460- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2021-0462 No score
Updated opendmarc packages fix security vulnerability
OpenDMARC through 1.3.2 and 1.4.x, when used with pypolicyd-spf 2.0.2, allows attacks that bypass SPF and DMARC authentication in situations where the HELO field is inconsistent with the MAIL FROM field (CVE-2019-20790).
OpenDMARC through 1.3.2 and 1.4.x allows attacks that inject authentication results to provide false information about the domain that originated an e-mail message. This is caused by incorrect parsing and interpretation of SPF/DKIM authentication results, as demonstrated by the example.net(.example.com substring (CVE-2020-12272).
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 (CVE-2020-12460).
- Record
MGASA-2021-0462- Updated
- 2026-11-02
OSVUSN-6356-1 No score
opendmarc vulnerabilities
Jianjun Chen, Vern Paxson and Jian Jiang discovered that OpenDMARC incorrectly handled certain inputs. If a user or an automated system were tricked into receiving crafted inputs, an attacker could possibly use this to falsify the domain of an e-mails origin. (CVE-2020-12272)
Patrik Lantz discovered that OpenDMARC incorrectly handled certain inputs. If a user or an automated system were tricked into opening a specially crafted input file, a remote attacker could possibly use this issue to cause a denial of service. (CVE-2020-12460)
- Record
USN-6356-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
opendmarcDebian:12 |
before 1.4.0~beta1+dfsg-3 | 1.4.0~beta1+dfsg-3 |
opendmarcDebian:13 |
before 1.4.0~beta1+dfsg-3 | 1.4.0~beta1+dfsg-3 |
opendmarcDebian:14 |
before 1.4.0~beta1+dfsg-3 | 1.4.0~beta1+dfsg-3 |
opendmarcDebian:9 |
before 1.3.2-2+deb9u3, plus listed versions 1.3.2-21.3.2-2+deb9u11.3.2-2+deb9u1~bpo8+11.3.2-2+deb9u2 |
1.3.2-2+deb9u3 |
opendmarcMageia:8 From an advisory covering 3 CVEs |
before 1.4.1.1-1.mga8 | 1.4.1.1-1.mga8 |
opendmarcUbuntu:Pro:16.04:LTS |
before 1.3.1+dfsg-3ubuntu0.1~esm1, plus listed versions 1.3.1+dfsg-21.3.1+dfsg-3 |
1.3.1+dfsg-3ubuntu0.1~esm1 |
opendmarcUbuntu:18.04:LTS |
before 1.3.2-3ubuntu0.2, plus listed versions 1.3.2-21.3.2-31.3.2-3ubuntu0.1 |
1.3.2-3ubuntu0.2 |
opendmarcUbuntu:20.04:LTS |
before 1.3.2-7ubuntu0.1, plus listed versions 1.3.2-61.3.2-7 |
1.3.2-7ubuntu0.1 |
opendmarcUbuntu:Pro:16.04:LTS From an advisory covering 2 CVEs |
before 1.3.1+dfsg-3ubuntu0.1~esm1, plus listed versions 1.3.1+dfsg-21.3.1+dfsg-3 |
1.3.1+dfsg-3ubuntu0.1~esm1 |
opendmarcUbuntu:18.04:LTS From an advisory covering 2 CVEs |
before 1.3.2-3ubuntu0.2, plus listed versions 1.3.2-21.3.2-31.3.2-3ubuntu0.1 |
1.3.2-3ubuntu0.2 |
opendmarcUbuntu:20.04:LTS From an advisory covering 2 CVEs |
before 1.3.2-7ubuntu0.1, plus listed versions 1.3.2-61.3.2-7 |
1.3.2-7ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-12460 is a critical vulnerability (CVSS 9.8) in Trusteddomain Opendmarc, published July 27, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.68%, the 89th percentile. Fixed in opendmarc 1.4.0~beta1+dfsg-3.
References
sourceforge.net/projects/opendmarc
github.com/trusteddomainproject/OpenDMARC/issues/64
security.gentoo.org/glsa/202011-02
lists.debian.org/debian-lts-announce/2021/04/msg00026.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JHDKMCZGE3W4XBP76NLI2Q7IOZHXLD4A
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2D4JGHMALEJEWWG56DKR5OZB22TK7W5B
Show 14 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KBOGOQOK3TIWWJV66MW5YWNRJAFFYGR5
nvd.nist.gov/vuln/detail/CVE-2020-12460
lists.fedoraproject.org/archives/list/[email protected]/message/2D4JGHMALEJEWWG56DKR5OZB22TK7W5B
lists.fedoraproject.org/archives/list/[email protected]/message/JHDKMCZGE3W4XBP76NLI2Q7IOZHXLD4A
lists.fedoraproject.org/archives/list/[email protected]/message/KBOGOQOK3TIWWJV66MW5YWNRJAFFYGR5
github.com/advisories/GHSA-8c3p-8wh2-8ggf
security-tracker.debian.org/tracker/CVE-2020-12460
advisories.mageia.org/MGASA-2021-0462.html
bugs.mageia.org/show_bug.cgi?id=29035
github.com/trusteddomainproject/OpenDMARC/issues/111
ubuntu.com/security/CVE-2020-12460
ubuntu.com/security/notices/USN-6356-1
cve.org/CVERecord?id=CVE-2020-12460
ubuntu.com/security/CVE-2020-12272