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.
| Software | From | Fixed in |
|---|---|---|
| trusteddomain / opendmarc | 1.4.0-beta1 | 1.4.0-beta1.x |
| trusteddomain / opendmarc | - | 1.3.2.x |
| trusteddomain / opendmarc | 1.4.0-beta0 | 1.4.0-beta0.x |
| fedoraproject / fedora | 33 | 33.x |
| fedoraproject / fedora | 34 | 34.x |
| debian / debian_linux | 9.0 | 9.0.x |