| Titel | The Trusted Domain Project OpenDKIM 2.11.0 Out-of-Bounds Read |
|---|
| Beschreibung | 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. |
|---|
| Quelle | ⚠️ https://weitongli.com/share/opendkim-qp-off-by-one.html |
|---|
| Benutzer | WeitongLi (UID 100239) |
|---|
| Einreichung | 06.08.2026 09:32 (vor 2 Monaten) |
|---|
| Moderieren | 27.09.2026 09:36 (2 months later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 410839 [Trusted Domain Project OpenDKIM bis 2.11.0 Decoder util.c dkim_qp_decode Pufferüberlauf] |
|---|
| Punkte | 20 |
|---|