Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-101340 EUVD-2026-131553GHSA-fc2c-c7cj-qwpr

Query ID predictable from a short sequence of observations

Published Nov 20, 2026 · Updated Nov 20, 2026 · Assigned by NLnet Labs

Description

Net::DNS uses a 16-bit query ID to match responses to the corresponding requests. In versions up to and including 1.57, the ID is obtained from Perl's built-in rand() function. An attacker that can observe the sequence of query IDs is able to expose the internal state of the PNRG and hence predict query IDs before they are transmitted. The victim Net::DNS instance is then exposed to forged responses injected by the attacker. Note that the deduplication cache in 1.57 has no impact on the feasibility of this attack.

Affected products

VendorProductAffectedFixed
NLnet Labs Net::DNS 0.02 – < 0.*, 1.00 – < 1.58 0.*

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libnet-dns-perl No fix yet —
Debian 13 libnet-dns-perl No fix yet —
Debian 12 libnet-dns-perl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libnet-dns-perl No fix yet —
Ubuntu 26.04 LTS libnet-dns-perl No fix yet —
Ubuntu 24.04 LTS libnet-dns-perl No fix yet —
Ubuntu 22.04 LTS libnet-dns-perl No fix yet —
Ubuntu 20.04 LTS libnet-dns-perl No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libnet-dns-perl No fix yet —
Ubuntu 16.04 LTS libnet-dns-perl No fix yet —
Ubuntu 14.04 LTS libnet-dns-perl No fix yet —

Advisories 1

References