CVE-2020-12460: OpenDMARC through 1.3.2 and 1.4.x through 1.4.0-Beta1 has improper null termination in the function opendmarc_
CVE-2020-12460 is a critical-severity flaw (CVSS 9.8) affecting opendmarc, fedora, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.7% (top 10%) |
| CISA exploited list | No |
| Weakness | CWE-787 |
| Published | 2020-07-27 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: github.com/trusteddomainproject/OpenDMARC/issues/64
- GitHub PoC: Live-Hack-CVE/CVE-2020-12460
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-12460?
opendmarc: upgrade to newer than 1.3.2; fedora: mitigate or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2020-12460 being exploited?
CVE-2020-12460 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-12460 affect?
CVE-2020-12460 affects opendmarc, fedora, debian linux. Severity is critical (CVSS 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. Th
How urgent is CVE-2020-12460?
Priority 72/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Related CVEs
- CVE-2024-25768 HIGH 7.5 DOWNGRADE OpenDMARC 1.4.2 contains a null pointer dereference vulnerability in /OpenDMARC/libopendmarc/opendmarc_policy.
- CVE-2021-34555 HIGH 7.5 DOWNGRADE MITIGATE OpenDMARC 1.4.1 and 1.4.1.1 allows remote attackers to cause a denial of service (NULL pointer dereference and
- CVE-2020-12272 MEDIUM 5.3 UPGRADE MITIGATE OpenDMARC through 1.3.2 and 1.4.x allows attacks that inject authentication results to provide false informati
- CVE-2019-20790 CRITICAL 9.8 UPGRADE DOWNGRADE OpenDMARC through 1.3.2 and 1.4.x, when used with pypolicyd-spf 2.0.2, allows attacks that bypass SPF and DMAR