Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) Affecting perl-Net-DNS package, versions *


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.63% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS7-PERLNETDNS-22773189
  • published23 Nov 2026
  • disclosed20 Nov 2026

Introduced: 20 Nov 2026

NewCVE-2026-101340  (opens in a new tab)
CWE-338  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 perl-Net-DNS.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl-Net-DNS package and not the perl-Net-DNS package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1