| Titolo | The Trusted Domain Project OpenDMARC 1.4.2 Out-of-Bounds Read |
|---|
| Descrizione | 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. |
|---|
| Fonte | ⚠️ https://weitongli.com/share/opendmarc-cleanup-off-by-one.html |
|---|
| Utente | WeitongLi (UID 100239) |
|---|
| Sottomissione | 06/08/2026 10:22 (2 mesi fa) |
|---|
| Moderazione | 27/09/2026 13:33 (2 months later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 410884 [Trusted Domain Project OpenDMARC fino a 1.4.2 DMARC Record Parser opendmarc_util.c opendmarc_util_cleanup buffer overflow] |
|---|
| Punti | 20 |
|---|