Unbound 1.25.0 jostle logic flaw can degrade resolution performance
CVE-2026-42534 Published on May 20, 2026
Jostle logic bypass degrades resolution performance
NLnet Labs Unbound up to and including version 1.25.0 has a vulnerability in the jostle logic that could defeat its purpose and degrade resolution performance. Retransmits of the same query could renew the age of slow running queries and not allow the jostle logic to see them as aged and potential targets for replacement with new queries. An adversary who can query a vulnerable Unbound and who can control a domain name server that replies slowly and/or maliciously to Unbound's queries can exploit the vulnerability and degrade the resolution performance of Unbound. When Unbound's 'num-queries-per-thread' reaches its limit, the jostle logic kicks in. When a new query comes in, half of the available queries that are also slow to resolve are candidates for replacement. The vulnerability then happens because duplicate queries that need resolution would skew the aging result by using the timestamp of the latest duplicate query instead of the original one that started the resolution effort. Cache and local data response performance remains unaffected. Coordinated attacks could raise this to a denial of resolution service. Unbound 1.25.1 contains a patch with a fix to attach an initial, non-updatable start time for incoming queries that allow the jostle logic to work as intended.
Timeline
Issue reported by Qifan Zhang
NLnet Labs shares patch 9 days later.
Qifan Zhang verifies patch 1 day later.
Fixes released with version 1.25.1 12 days later.
Weakness Type
Expected Behavior Violation
A feature, API, or function does not perform according to its specification.
Products Associated with CVE-2026-42534
stack.watch emails you whenever new vulnerabilities are published in Nlnetlabs Unbound or Canonical Ubuntu Linux. Just hit a watch button to start following.
Affected Versions
NLnet Labs Unbound:- Before 1.25.1 is affected.