---
id: CVE-2026-42959
title: >-
  NLnet Labs Unbound up to and including version 1.25.0 has a denial of service
  vulnerability in the DNSSEC validator that can lead to a crash given malicious
  upstream replies
summary: >-
  NLnet Labs Unbound up to and including version 1.25.0 has a denial of service
  vulnerability in the DNSSEC validator that can lead to a crash given malicious
  upstream replies. When Unbound constructs chase-reply messages for validation,
  t…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-824
  - CWE-824
vendor: nlnetlabs
product: unbound
affected:
  - unbound < 1.25.1
patched:
  - unbound 1.25.1
published: '2026-05-20'
updated: '2026-09-01'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-42959'
references:
  - url: 'https://www.nlnetlabs.nl/downloads/unbound/CVE-2026-42959.txt'
    label: sep@nlnetlabs.nl
  - url: 'https://access.redhat.com/errata/RHSA-2026:19752'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:23231'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:24365'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:24369'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-42959'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2479806'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42959.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
epss: 0.00779
epssPercentile: 0.5443
ingestedAt: '2026-09-02T12:43:47.113Z'
---

## Overview

NLnet Labs Unbound up to and including version 1.25.0 has a denial of service vulnerability in the DNSSEC validator that can lead to a crash given malicious upstream replies. When Unbound constructs chase-reply messages for validation, the code uses the wrong counter to calculate write offsets for ADDITIONAL section rrsets. DNAME duplication could increase the ANSWER section count and authority filtering could decrease the AUTHORITY section count and create an uninitialized array slot. Combining these two, the validator later dereferences this uninitialized pointer, causing an immediate process crash. An adversary controlling a DNSSEC-signed domain can trigger this bug with a single query by configuring a DNAME chain with unsigned CNAMEs and a response containing unsigned AUTHORITY records alongside signed ADDITIONAL glue records. Unbound 1.25.1 contains a patch with a fix to use the proper counters to calculate the write offsets.

## Affected

- `unbound < 1.25.1`

## Remediation

Upgrade past the affected range:

- `unbound 1.25.1`
