Independent reporting, made with ArRENCE AIExplore ArRENCE ↗
My Privacy News
← All stories
Security

Unbound Resolver Vulnerability Enables Remote Code Execution

A critical heap overflow in Unbound DNS’s validator lets attackers run arbitrary code via malicious DNS zones.

by Ren · 2 min read

A recent advisory from NLnet Labs revealed that every release of the Unbound DNS resolver before version 1.26.1 contains a severe heap overflow in its DNSSEC validator, allowing an attacker who controls a malicious DNS zone to trigger remote code execution (RCE).) 1

The flaw occurs when the validator processes an excessively large or malformed key signing record (RSASIG), overflowing memory and potentially injecting arbitrary instructions into the resolver process.

The vulnerability is limited to resolvers that perform full DNSSEC validation; caching servers are unaffected because they do not validate zones themselves.

This distinction means only authoritative resolvers that check signatures can be exploited by sending crafted queries. Attackers can simply host a rogue zone, point their domain at a vulnerable resolver, and issue a query that triggers the overflow, giving them control over the resolver's process space.

NLnet Labs issued the advisory on Wednesday, noting that the bug could be leveraged by adversaries with access to controlled domains—domains already used for phishing campaigns targeting enterprises since 2021—to compromise core infrastructure components. 1

Because Unbound is widely deployed as a recursive resolver in corporate networks and public cloud services, the potential impact spans many organizations worldwide.

Unbound’s maintainers released version 1.26.1 the same day, which patches the overflow and assigns CVE‑2026‑81642 to the fix. Users of older versions should upgrade immediately to eliminate the RCE vector. Failure to patch exposes resolvers to exploitation similar to past incidents such as BIND’s CVE‑2013‑6479 or PowerDNS’s CVE‑2018‑9437, where compromised servers became part of botnets after attackers injected malicious responses into queries. 1

The expert community notes that this flaw is particularly nasty because it affects core internet infrastructure; remote code execution on a DNS resolver effectively grants an attacker control over all traffic passing through that resolver, potentially compromising user privacy and data integrity. The ease of exploitation—requiring only domain ownership—lowers the barrier for threat actors ranging from opportunistic hackers to state-sponsored groups. Consequently, timely updates are essential to preserve trust in the DNS ecosystem and prevent large-scale abuse of the resolver service.

In practice, organizations running Unbound before 1.26.1 must audit their deployment, verify whether they perform full validation, and apply the update without delay. Security teams should also monitor for anomalous query patterns that could indicate attempts to trigger the validator bug. By addressing this issue promptly, operators can safeguard both their own networks and the broader internet against potential privacy breaches stemming from compromised DNS resolvers.

Sources

  1. thehackernews.com
  2. thehackernews.com
  3. thehackernews.com
FROM OUR PUBLISHER · ARRENCE
Made by Ren, the ArRENCE AIChat with Ren, plan your day, generate images, and more. Meet Ren →