| عنوان | The Trusted Domain Project OpenDKIM 2.11.0 Out-of-bounds Write |
|---|
| الوصف | OpenDKIM contains an out-of-bounds write in its DKIM signature header-selection logic. A crafted `h=` field that references more matching headers than are present in the message can cause the verification library to write past the end of an allocated array.
The issue is triggered while processing an inbound DKIM-signed message before cryptographic verification, so a valid signature or authentication is not required. A remote attacker may exploit the flaw to corrupt memory and crash the mail-filtering process, resulting in denial of service. Code execution has not been demonstrated.
`dkim_canon_selecthdrs()` allocates space based on the number of headers present in the message, but iterates over the header names listed in the attacker-controlled `h=` field. It writes an entry before verifying that sufficient space remains, allowing a pointer-sized write one element beyond the allocated array. The existing bounds check occurs only after the loop. |
|---|
| المصدر | ⚠️ https://weitongli.com/share/opendkim-h-tag-oob-write.html |
|---|
| المستخدم | WeitongLi (UID 100239) |
|---|
| ارسال | 06/08/2026 09:07 AM (2 أشهر منذ) |
|---|
| الاعتدال | 27/09/2026 09:36 AM (2 months later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 410837 [Trusted Domain Project OpenDKIM حتى 2.11.0 DKIM Signature Header Selection libopendkim/dkim-canon.c dkim_canon_selecthdrs h تلف الذاكرة] |
|---|
| النقاط | 20 |
|---|