Security advisory Debian

Unbound DNS resolver on Debian in 2026: DSA-6304-1, DSA-6507-1 and DSA-6581-1 explained

Three 2026 Debian updates fixed 49 Unbound CVEs on trixie, two rated Critical by NLnet Labs. Bookworm has no fix yet. What to check and do.

Published
Reading time
5 min read

Security advisory Vulnerability

Severity: Critical Status: Monitoring
Status
Fixed in Debian 13 (trixie). As of 31 Oct 2026 Debian 12 (bookworm) has no fixed package; the tracker lists it as vulnerable.
Affected
  • unbound in Debian 13 (trixie) before 1.26.2-0+deb13u1
  • unbound in Debian 13 (trixie) before 1.26.1-0+deb13u1
  • unbound in Debian 13 (trixie) before 1.22.0-2+deb13u3
  • unbound in Debian 12 (bookworm): no fixed version published yet (checked 31 Oct 2026)
Published
Updated

What you should do

  • Trixie: upgrade to 1.26.2-0+deb13u1, check the configuration, restart unbound.
  • Bookworm: keep the resolver reachable only by your own hosts and schedule the upgrade to trixie; no LTS fix exists yet.
  • Turn off optional transports (DNS-over-QUIC, DNS-over-HTTPS, DNSCrypt) unless you actually serve them.
  • Debian 11 (bullseye) left LTS on 31 August 2026; replace any bullseye resolvers.
Timeline
  1. Debian published DSA-6304-1 for unbound.
  2. Debian published DSA-6507-1 for unbound.
  3. Debian published DSA-6581-1 for unbound.
  4. Skyline published this summary.

Unbound, the validating and caching DNS resolver from NLnet Labs, has had a heavy year. Debian released three updates for Debian 13 (trixie): DSA-6304-1 in May, DSA-6507-1 in September and DSA-6581-1 on 23 October 2026. Between them they fix 49 CVEs, including memory-safety bugs in the DNSSEC validator that NLnet Labs says could allow remote code execution.

Debian 12 (bookworm) has received no Unbound update for any of these rounds. As of 31 October 2026 the Debian security tracker lists bookworm's Unbound as vulnerable to all of them.

At a glance

AdvisoryDateCVEsTrixie fixed version
DSA-6304-127 May 2026111.22.0-2+deb13u3
DSA-6507-119 Sep 2026341.26.1-0+deb13u1
DSA-6581-123 Oct 202651.26.2-0+deb13u1

Source package unbound; binaries unbound, libunbound8, unbound-anchor, unbound-host, python3-unbound. Severity: Critical (NLnet Labs CVSS 4.0 score 9.1 for two CVEs). Bookworm: no fixed package.

What the vulnerabilities are

May: DSA-6304-1

Debian described the 11 issues as possible denial of service, cache poisoning or potentially arbitrary code execution. The most serious, CVE-2026-33278 (CVSS 4.0: 9.1), is a pointer bug in the DNSSEC validator: an attacker who controls a malicious signed zone and gets Unbound to query it can trigger a crash or potentially code execution. NLnet Labs lists it for Unbound 1.19.1 to 1.25.0. CVE-2026-42944 (8.7) is a heap overflow when a query carries several NSID, DNS Cookie or EDNS Padding options; padding of responses is enabled by default.

September: DSA-6507-1

The largest round, 34 CVEs, which Debian summarised as possible denial of service, cache poisoning, DNS cookie bypass or potentially arbitrary code execution. Two stand out:

  • CVE-2026-81642 (CVSS 4.0: 9.1): a crafted DNSKEY can overflow a digest buffer in the validator. NLnet Labs says remote code execution is possible and that an attacker only needs to control a malicious zone and have Unbound query it. It affects all versions up to 1.26.0.
  • CVE-2026-82717 (8.4): heap corruption triggered by CNAME synthesis combined with a compression pointer; it leads to crashes and, on some systems and builds, possibly code execution.

Several other issues in this round only apply when optional features are switched on, such as DNS-over-QUIC, DNS-over-HTTPS or DNSCrypt.

October: DSA-6581-1

Five fixes: two DNSSEC problems with an island trust anchor under an insecure parent (CVE-2026-35501, CVE-2026-50106), unbounded name-decompression work that degrades service (CVE-2026-96405), a DNS-over-QUIC use-after-free on multi-threaded setups (CVE-2026-97206), and a cache side channel that could enable poisoning when unwanted-reply-threshold is set, which is not the default (CVE-2026-109125).

None of the 49 CVEs is in the CISA Known Exploited Vulnerabilities catalog (30 October 2026 edition).

Are you affected?

dpkg-query -W -f='${Package} ${Version}\n' 'unbound*' libunbound8
apt policy unbound
systemctl is-active unbound
sudo grep -rnE 'interface:|access-control|quic-port|https-port|dnscrypt|unwanted-reply-threshold|trust-anchor' /etc/unbound/

Trixie systems below 1.26.2-0+deb13u1 miss at least the October fixes. Every bookworm build is listed as vulnerable. NLnet Labs' version ranges show that not every CVE reaches bookworm's Unbound 1.17.1 (CVE-2026-33278 starts at 1.19.1, and the QUIC bugs at 1.22.0), but others, including CVE-2026-81642, cover all versions.

How to update

On Debian 13 (trixie):

sudo apt update
sudo apt install --only-upgrade unbound libunbound8 unbound-anchor unbound-host python3-unbound
sudo unbound-checkconf
apt policy unbound

The fixed packages move trixie from upstream 1.22.0 to 1.26.x, a bigger step than a usual stable update, so unbound-checkconf is worth running before you restart.

On Debian 12 (bookworm) there is no fixed package. Unbound only answers 127.0.0.0/8 by default; keep access-control that tight or limited to your own networks. That does not remove the risk, because a local resolver still looks up names that outsiders choose, for example sender domains on a mail server. Plan the move to trixie, and watch the tracker page for a DLA.

Restart or reboot?

No reboot. Restart the resolver, then restart any other service that loads libunbound8; needrestart lists them:

sudo systemctl restart unbound
unbound -V | head -1
sudo needrestart -r l

Sources

SKYLINE Engineering

@skyline

The engineering team at SKYLINE Industrial Solutions. We publish field-tested guides drawn from real KSA and GCC deployments.

See author profile
SKYLINE engineering services

Need this implemented for you?

Reading is free — building it right takes a team. SKYLINE engineers ship Debian for Aramco vendors, banks, hospitals and government agencies across Saudi Arabia. Talk to us before you start.

Aramco Approved Contractor ISO 9001 · ISO 27001 SAMA CSF aligned NCA ECC ready 247+ KSA clients

Comments

0 total · 0 threads
Be the first to leave a comment.