Submit #917063: The Trusted Domain Project OpenDKIM 2.11.0 Out-of-Bounds Readinfo

TitleThe Trusted Domain Project OpenDKIM 2.11.0 Out-of-Bounds Read
DescriptionOpenDKIM 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.
Source⚠️ https://weitongli.com/share/opendkim-qp-off-by-one.html
User
 WeitongLi (UID 100239)
Submission08/06/2026 09:32 (2 months ago)
Moderation09/27/2026 09:36 (2 months later)
StatusAccepted
VulDB entry410839 [Trusted Domain Project OpenDKIM up to 2.11.0 Decoder util.c dkim_qp_decode off-by-one]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!