Memory corruption could lead to crash and denial of service
In NLnet Labs Unbound 1.25.0 up to and including 1.25.1, a fix that makes the 'respip' and 'dns64' modules work together, creates a shallow copy of the view name in effect that could lead to memory corruption if the owner of the original view name is jostled out when Unbound is under pressure. Unbound needs to be configured with one of 'respip'/'rpz' modules, together with a module that can attach subqueries (respip CNAME redirection, dns64, subnetcache) and a configured 'access-control-view' while Unbound is under pressure so that joslte logic kicks in and starts dropping slow queries. The subquery is getting a shallow copy of the view name and if the super query which owns the view name is jostled out, memory corruption can occur. Likelihood of a crash is low, since it relies heavily on the underlying memory allocator and the memory layout. Debug memory builds (e.g., ASAN) that catch the free terminate the server.
Problem Types
| Type | CWE ID | Description |
|---|
| CWE | CWE-416 | CWE-416: Use After Free |
Type: CWE
Description: CWE-416: Use After Free
Metrics
| Version | Base score | Base severity | Vector |
|---|
| 3.1 | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Version: 3.1
Base score: 5.9
Base severity: MEDIUM
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Timeline
| Event | Date |
|---|
| Issue reported by Qifan Zhang | 2026-05-08 00:00:00 |
| NLnet Labs shares patch | 2026-06-08 00:00:00 |
| Qifan Zhang verifies patch | 2026-06-11 00:00:00 |
| Fixes released with version 1.25.2 | 2026-07-22 00:00:00 |
Event: Issue reported by Qifan Zhang
Date: 2026-05-08 00:00:00
Event: NLnet Labs shares patch
Date: 2026-06-08 00:00:00
Event: Qifan Zhang verifies patch
Date: 2026-06-11 00:00:00
Event: Fixes released with version 1.25.2
Date: 2026-07-22 00:00:00