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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | opendmarc | 1.4.0~beta1+dfsg-3 | — |
| Debian 13 | opendmarc | 1.4.0~beta1+dfsg-3 | — |
| Debian 12 | opendmarc | 1.4.0~beta1+dfsg-3 | — |
| Debian 9 | opendmarc | 1.3.2-2+deb9u3 | DLA-2639-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | opendmarc | 1.3.2-7ubuntu0.1 | USN-6356-1 |
| Ubuntu 18.04 LTS | opendmarc | 1.3.2-3ubuntu0.2 | USN-6356-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | opendmarc | 1.3.1+dfsg-3ubuntu0.1~esm1 | USN-6356-1 |
Advisories 2
- USN-6356-1 opendmarc vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- DLA-2639-1 opendmarc - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://sourceforge.net/projects/opendmarc/
- https://github.com/trusteddomainproject/OpenDMARC/issues/64
- GLSA-202011-02 vendor-advisory
- [debian-lts-announce] 20210425 [SECURITY] [DLA 2639-1] opendmarc security update mailing-list
- FEDORA-2021-c1b846164e vendor-advisory
- FEDORA-2021-1ec3c5ed63 vendor-advisory
- FEDORA-2021-433e7d72ce vendor-advisory