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

Published Nov 20, 2026
·
Updated

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 Software

1 affected component
cpan/Net::DNS<=1.57

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Net::DNS to a version that resolves this vulnerability.

    Fixed in 1.58

Event History

Nov 20, 2026
CVE Published
via MITRE·12:38 PM
Data Sourced
via MITRE·12:38 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·01:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to forged DNS responses?

Net::DNS versions through 1.57 are exposed when an attacker can observe a sequence of query IDs from the target instance. The attacker can use those observations to predict IDs before queries are transmitted and inject forged responses.

2

Does the deduplication cache in version 1.57 mitigate this issue?

No. The provided advisory states that the deduplication cache in 1.57 does not affect the feasibility of the attack.

3

What does an attacker need to exploit the weakness?

The attacker needs to observe a short sequence of DNS query IDs generated by the victim Net::DNS instance. No privileges or user interaction are indicated by the supplied severity vector.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203