CVE-2020-12460 json
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…
published 6y ago modified 4mo ago also EUVD-2020-4769
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.7%
- EPSS 3.7% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- opendmarc Debian 14, Debian 13, Debian 12 1.4.0~beta1+dfsg-3
debian advisories DEBIAN-CVE-2020-12460
- opendmarc Ubuntu 18.04 LTS 1.3.2-3ubuntu0.2
- opendmarc Ubuntu 20.04 LTS 1.3.2-7ubuntu0.1
- opendmarc Ubuntu Pro 16.04 LTS 1.3.1+dfsg-3ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2020-12460
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- opendmarc Arch Linux 1.3.3-1
arch linux advisories AVG-1208
Is CVE-2020-12460 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-12460 updated cvss 7.3
OpenDMARC: improper null termination in function opendmarc_xml_parse leads to heap-buffer overflow
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.68% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/trusteddomainproject/OpenDMARC/issues/64 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/trusteddomainproject/OpenDMARC/issues/64
exploit, third-party-advisory
-
security.gentoo.org
/glsa/202011-02
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/JHDKMCZGE3W4XBP76NLI2Q7IOZHXLD4A/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/2D4JGHMALEJEWWG56DKR5OZB22TK7W5B/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/KBOGOQOK3TIWWJV66MW5YWNRJAFFYGR5/
vendor-advisory
-
sourceforge.net
/projects/opendmarc/
product, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/04/msg00026.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2020-12460
- NVD CVE-2020-12460
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.