CVE-2020-12460

NameCVE-2020-12460
DescriptionOpenDMARC 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2639-1
Debian Bugs966464

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
opendmarc (PTS)bullseye1.4.0~beta1+dfsg-6+deb11u1fixed
bookworm1.4.2-2fixed
sid, trixie1.4.2-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
opendmarcsourcestretch1.3.2-2+deb9u3DLA-2639-1
opendmarcsourcebuster1.3.2-6+deb10u2
opendmarcsource(unstable)1.4.0~beta1+dfsg-3966464

Notes

https://github.com/trusteddomainproject/OpenDMARC/issues/64
https://github.com/trusteddomainproject/OpenDMARC/commit/50d28af25d8735504b6103537228ce7f76ad765f

Search for package or bug name: Reporting problems