| 제목 | The Trusted Domain Project OpenDKIM 2.11.0 Out-of-Bounds Read |
|---|
| 설명 | 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. |
|---|
| 원천 | ⚠️ https://weitongli.com/share/opendkim-qp-off-by-one.html |
|---|
| 사용자 | WeitongLi (UID 100239) |
|---|
| 제출 | 2026. 08. 06. AM 09:32 (2 개월 ago) |
|---|
| 모더레이션 | 2026. 09. 27. AM 09:36 (2 months later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 410839 [Trusted Domain Project OpenDKIM 까지 2.11.0 Decoder util.c dkim_qp_decode 메모리 손상] |
|---|
| 포인트들 | 20 |
|---|