| Summary | NLnet Labs Unbound 1.19.1 up to and including version 1.25.0 has a vulnerability in the DNSSEC validator that enables denial of service and possible remote code execution as a result of deep copying a data structure and erroneously overwriting a destination pointer. An adversary can exploit the vulnerability by controlling a malicious signed zone and querying a vulnerable Unbound. When DS sub-queries need to suspend validation due to NSEC3 computational budget exhaustion (introduced in Unbound 1.19.1), Unbound deep-copies response messages to preserve them across memory region teardown. A struct-assignment bug overwrites the destination's pointer with the source's pointer. After the sub-query region is freed, the resumed validator dereferences this dangling pointer, triggering a crash or potentially enabling arbitrary code execution. Unbound 1.25.1 contains a patch with a fix to preserve the correct pointer when deep copying the data structure. |
|---|---|
| Publication Date | May 20, 2026, 7:16 p.m. |
| Registration Date | May 21, 2026, 4:09 a.m. |
| Last Update | May 20, 2026, 11:02 p.m. |
| Title | NLnet Labsのunboundにおける複数の脆弱性 |
|---|---|
| Summary | NLnet LabsのUnboundバージョン1.19.1から1.25.0までには、DNSSECバリデータに脆弱性が存在します。この脆弱性は、データ構造のディープコピー時に宛先ポインタを誤って上書きしてしまうことにより、サービス拒否やリモートコード実行が可能になるものです。攻撃者は悪意のある署名ゾーンを制御し、脆弱なUnboundにクエリを送ることでこの脆弱性を悪用できます。DSサブクエリがNSEC3計算予算の枯渇により検証を一時停止しなければならない場合(Unbound 1.19.1で導入)、Unboundはメモリ領域の解放にわたって応答メッセージを保持するためにそれらをディープコピーします。しかし、構造体代入のバグにより、宛先のポインタがソースのポインタで上書きされてしまいます。サブクエリ領域が解放された後、再開されたバリデータはこのダングリングポインタを逆参照し、クラッシュを引き起こしたり、任意のコード実行を可能にしたりします。Unbound 1.25.1には、データ構造のディープコピー時に正しいポインタを保持する修正が含まれています。 |
| Possible impacts | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | May 20, 2026, midnight |
| Registration Date | May 22, 2026, 10:59 a.m. |
| Last Update | May 22, 2026, 10:59 a.m. |
| NLnet Labs |
| unbound 1.19.1 以上 1.25.1 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年05月22日] 掲載 |
May 22, 2026, 10:59 a.m. |