| Titre | The Trusted Domain Project OpenDMARC 1.4.2 Out-of-Bounds Read |
|---|
| Description | OpenDMARC contains an off-by-one error in `opendmarc_util_cleanup()` that can result in an out-of-bounds read. The function accepts input whose length is equal to the destination buffer size, leaving no space for a terminating NUL byte. The returned buffer is subsequently processed as a C string.
In the DMARC record parser, a crafted 32-character `rf=` value can therefore cause string-processing code to read beyond the end of a 32-byte stack buffer. Because DMARC records are retrieved from DNS under the sending domain’s control, a remote unauthenticated attacker can trigger the issue by publishing a malicious record and sending a message from that domain.
Successful exploitation may crash the DMARC-processing component and cause a denial of service. Potential information disclosure from adjacent stack memory has not been demonstrated. |
|---|
| La source | ⚠️ https://weitongli.com/share/opendmarc-cleanup-off-by-one.html |
|---|
| Utilisateur | WeitongLi (UID 100239) |
|---|
| Soumission | 06/08/2026 10:22 (il y a 2 mois) |
|---|
| Modérer | 27/09/2026 13:33 (2 months later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 410884 [Trusted Domain Project OpenDMARC jusqu’à 1.4.2 DMARC Record Parser opendmarc_util.c opendmarc_util_cleanup buffer overflow] |
|---|
| Points | 20 |
|---|