CVE-2026-55717

'serve-expired-client-timeout' and 'response-ip' CNAME redirect could lead to a crash

Published Jul 22, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
In NLnet Labs Unbound 1.10.0 up to and including 1.25.1, when 'serve-expired: yes' is set together with a 'response-ip: <net> redirect' /'response-ip-data: <net> CNAME <target>' rule (or the RPZ 'rpz-cname-override' equivalent), a remote client who controls any delegated domain can crash the daemon. The serve-expired-client-timeout callback runs a two-pass loop to chase the respip-generated CNAME alias; on the second pass it resets 'alias_rrset' but not 'partial_rep'. Later, this inconsistency leads to a NULL pointer dereference and an eventual crash. A malicious actor can exploit the vulnerability by controlling any zone that replies with an A/AAAA record that falls inside the configured response-ip/rpz subnet. By delaying the answer when the previous record has expired, the vulnerable path of 'serve-expired-client-timeout' is taken leading to denial of service via the server crash.

Analysis

AI-generated

Technical impact

This vulnerability is a NULL pointer dereference (CWE‑476) that is triggered when the daemon processes serve‑expired-client‑timeout callbacks in combination with response‑ip or rpz‑cname‑override rules. When a client controls a delegated zone that returns an A/AAAA record falling inside the configured response‑ip/rpz subnet, the two‑pass loop that resolves the generated CNAME alias leaves partial_rep unset. On the second pass the unavailable pointer dereference causes the Unbound process to crash, resulting in a denial‑of‑service condition for all clients.

Affected Systems

The affected product is NLnet Labs Unbound. Versions from 1.10.0 through 1.25.1, inclusive, are vulnerable when the configuration enables serve‑expired: yes together with a response‑ip: <net> redirect or a response‑ip-data: <net> CNAME <target> rule (or the equivalent rpz‑cname‑override). A remote client with control over any delegated zone can exploit the flaw. Systems running these versions should verify that they are not using the vulnerable configuration.

Risk and Exploitability

With a CVSS score of 5.9 the severity is moderate, but the bug is remotely exploitable from any client that can control a delegated zone. The EPSS score is <1% and the vulnerability is not listed in the CISA KEV catalog, suggesting limited known exploitation. Nevertheless, the crash degrades availability of the DNS server. An attacker simply issues a DNS query that triggers serve‑expired after a record has expired to provoke the crash.

Remediation

Vendor Solution

This issue is fixed starting with version 1.25.2


OpenCVE Recommended Actions

  • Upgrade to Unbound 1.25.2 or newer, which contains the fixed bug.
  • If an upgrade cannot be performed immediately, temporarily disabling serve‑expired: yes in the configuration to eliminate the crash path.
  • Remove or revise any response‑ip or rpz‑cname‑override rules that direction traffic to a CNAME alias when serve‑expired is enabled, or ensure those rules are not active.

Generated by OpenCVE AI on August 3, 2026 at 23:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6507-1 unbound security update
History
Type Values Removed Values Added
First Time appeared Nlnetlabs
Nlnetlabs unbound
Vendors & Products Nlnetlabs
Nlnetlabs unbound
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description In NLnet Labs Unbound 1.10.0 up to and including 1.25.1, when 'serve-expired: yes' is set together with a 'response-ip: <net> redirect' /'response-ip-data: <net> CNAME <target>' rule (or the RPZ 'rpz-cname-override' equivalent), a remote client who controls any delegated domain can crash the daemon. The serve-expired-client-timeout callback runs a two-pass loop to chase the respip-generated CNAME alias; on the second pass it resets 'alias_rrset' but not 'partial_rep'. Later, this inconsistency leads to a NULL pointer dereference and an eventual crash. A malicious actor can exploit the vulnerability by controlling any zone that replies with an A/AAAA record that falls inside the configured response-ip/rpz subnet. By delaying the answer when the previous record has expired, the vulnerable path of 'serve-expired-client-timeout' is taken leading to denial of service via the server crash.
Title 'serve-expired-client-timeout' and 'response-ip' CNAME redirect could lead to a crash
Weaknesses CWE-476
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
NLnet Labs
Published
Updated
Jul 22, 2026, 2:07 PM
Reserved
Jun 22, 2026, 12:27 PM
Status
Analyzed
Published
Jul 22, 2026, 2:17 PM
Modified
Oct 24, 2026, 1:10 PM