# CVE-2020-12460: libopendmarc2: OpenDMARC through 1.3.2 and 1.4.x through 1.4.0-Beta1 has improper null termination in the function opendmarc_xml_par...

CVE-2020-12460 is fixed in 3 products on 1 platform, first by libopendmarc2 1.3.2-3ubuntu0.2, released July 27, 2020. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2020-12460
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0368
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 27, 2020

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libopendmarc2 Ubuntu 18.04.6 LTS (bionic) | 1.3.2-3ubuntu0.2 | [libopendmarc2 1.3.2-3ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libopendmarc2-1.3.2-3ubuntu0.2.md) | Jul 27, 2020 |
| Linux | libopendmarc2 Ubuntu 20.04 LTS (focal) | 1.3.2-7ubuntu0.1 | [libopendmarc2 1.3.2-7ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libopendmarc2-1.3.2-7ubuntu0.1.md) | Jul 27, 2020 |
| Linux | opendmarc Ubuntu 18.04.6 LTS (bionic) | 1.3.2-3ubuntu0.2 | [opendmarc 1.3.2-3ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-opendmarc-1.3.2-3ubuntu0.2.md) | Jul 27, 2020 |
| Linux | opendmarc Ubuntu 20.04 LTS (focal) | 1.3.2-7ubuntu0.1 | [opendmarc 1.3.2-7ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-opendmarc-1.3.2-7ubuntu0.1.md) | Jul 27, 2020 |
| Linux | rddmarc Ubuntu 18.04.6 LTS (bionic) | 1.3.2-3ubuntu0.2 | [rddmarc 1.3.2-3ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-rddmarc-1.3.2-3ubuntu0.2.md) | Jul 27, 2020 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
