| Titolo | The Trusted Domain Project OpenDKIM 2.11.0 Out-of-Bounds Read |
|---|
| Descrizione | OpenDKIM contains an off-by-one error in the decoder for the DKIM sender-identity field. A crafted encoded identity can cause the decoder to overwrite the terminating null byte of a fixed-size stack buffer. Subsequent string processing may then read beyond the end of the buffer.
The issue is triggered while processing an inbound message containing a DKIM signature and occurs before cryptographic verification, so a valid signature or authentication is not required. A remote attacker may cause the mail-filtering process to crash, resulting in denial of service. Reading adjacent stack data may also create a limited potential information-disclosure condition, although disclosure has not been demonstrated.
dkim_qp_decode() uses an inclusive comparison when checking the output position against the caller-provided buffer limit. This permits one byte to be written beyond the intended decoded-data boundary, overwriting the null terminator. The caller subsequently treats the buffer as a null-terminated string and may read past its end while processing the decoded identity. |
|---|
| Fonte | ⚠️ https://weitongli.com/share/opendkim-qp-off-by-one.html |
|---|
| Utente | WeitongLi (UID 100239) |
|---|
| Sottomissione | 06/08/2026 09:32 (2 mesi fa) |
|---|
| Moderazione | 27/09/2026 09:36 (2 months later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 410839 [Trusted Domain Project OpenDKIM fino a 2.11.0 Decoder util.c dkim_qp_decode buffer overflow] |
|---|
| Punti | 20 |
|---|