p PatchFirst

CVE-2026-101340

CVE-2026-101340 · Query ID predictable from a short sequence of observations

CVSS 9.1 · Critical · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="libnet-dns-perl"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • net::dns

    Versions
    • ≥ 0.02, < 0.*: Affected (maven)
    • ≥ 1.00, < 1.58: Affected (maven)

    Update to 1.58

  • libnet-dns-perl Debian 12

    Versions
    • 1.36-1
    • 1.36-1+deb12u1
    • 1.39-1
    • 1.39-2
    • 1.40-1
    • 1.41-1
    All versions (21)
    • 1.42-1
    • 1.43-1
    • 1.44-1
    • 1.45-1
    • 1.46-1
    • 1.47-1
    • 1.48-1
    • 1.49-1
    • 1.50-1
    • 1.53-1
    • 1.54-1
    • 1.55-1
    • 1.56-1
    • 1.57-1
    • 1.58-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libnet-dns-perl Debian 13

    Versions
    • 1.50-1
    • 1.53-1
    • 1.54-1
    • 1.55-1
    • 1.56-0+deb13u1
    • 1.56-1
    All versions (9)
    • 1.57-0+deb13u1
    • 1.57-1
    • 1.58-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • libnet-dns-perl Debian 14

    Versions
    • 1.50-1
    • 1.53-1
    • 1.54-1
    • 1.55-1
    • 1.56-1
    • 1.57-1
    All versions (7)
    • 1.58-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →