Degradation of service with unbounded NSEC3 hash calculations
NLnet Labs Unbound up to and including version 1.25.0 has a vulnerability in the DNSSEC validator where the code path to consult the negative cache for DS records does not take into account the limit on NSEC3 hash calculations introduced in 1.19.1. This leads to degradation of service during the attack. An adversary that controls a DNSSEC signed zone can exploit this by signing NSEC3 records with acceptably high iterations for child delegations and querying a vulnerable Unbound. Unbound will keep performing the allowed hash calculations on the NSEC3 records and will not limit the work by the mitigation introduced in 1.19.1. As a side effect, a global lock for the negative cache will be held for the duration of the hashing, blocking other threads that need to consult the negative cache. Coordinated attacks could raise the vulnerability to denial of service. Unbound 1.25.1 contains a patch with a fix to bound the vulnerable code path with the existing limit for NSEC3 hash calculations.
Problem Types
| Type | CWE ID | Description |
|---|
| CWE | CWE-407 | CWE-407: Inefficient Algorithmic Complexity |
Type: CWE
Description: CWE-407: Inefficient Algorithmic Complexity
Metrics
| Version | Base score | Base severity | Vector |
|---|
| 4.0 | 6.9 | MEDIUM | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/U:Amber |
Version: 4.0
Base score: 6.9
Base severity: MEDIUM
Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/U:Amber
Timeline
| Event | Date |
|---|
| Issue reported by Qifan Zhang | 2026-04-28 00:00:00 |
| NLnet Labs shares patch | 2026-05-07 00:00:00 |
| Qifan Zhang verifies patch | 2026-05-08 00:00:00 |
| Fixes released with version 1.25.1 | 2026-05-20 00:00:00 |
Event: Issue reported by Qifan Zhang
Date: 2026-04-28 00:00:00
Event: NLnet Labs shares patch
Date: 2026-05-07 00:00:00
Event: Qifan Zhang verifies patch
Date: 2026-05-08 00:00:00
Event: Fixes released with version 1.25.1
Date: 2026-05-20 00:00:00