{
  "threat_severity" : "Important",
  "public_date" : "2026-11-20T12:38:22Z",
  "bugzilla" : {
    "description" : "perl-Net-DNS: Query ID predictable from a short sequence of observations",
    "id" : "2579647",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2579647"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.4",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
    "status" : "draft"
  },
  "cwe" : "CWE-338",
  "details" : [ "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.", "A flaw was found in perl-net-dns. The package relies on a weak pseudo-random number generator (PRNG) to generate Domain Name System (DNS) query identifiers. A remote attacker who can observe DNS traffic can determine the generator's internal state and predict future query IDs. This predictability allows the attacker to inject forged DNS responses, leading to DNS spoofing and potential redirection of network traffic." ],
  "statement" : "This vulnerability is rated as Important because remote, unauthenticated attackers who observe DNS queries can reliably predict future transaction identifiers and inject spoofed DNS records into dependent applications, resulting in severe integrity and confidentiality compromise without user intervention. In Red Hat Enterprise Linux, Net::DNS is packaged as a shared Perl module (perl-Net-DNS) primarily utilized by specialized automation scripts and custom networking tools rather than functioning as the system-wide name resolver. The operational risk is highest in server environments where persistent Perl services resolve untrusted or external hostnames, leaving them susceptible to cache poisoning or traffic redirection.",
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "perl-Net-DNS",
    "cpe" : "cpe:/o:redhat:rhel_els:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Affected",
    "package_name" : "perl-Net-DNS",
    "cpe" : "cpe:/o:redhat:rhel_els:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Affected",
    "package_name" : "perl-Net-DNS",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Affected",
    "package_name" : "perl-Net-DNS",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-101340\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-101340\nhttps://www.net-dns.org/downloads/CVE-2026-101340.txt" ],
  "name" : "CVE-2026-101340",
  "mitigation" : {
    "value" : "Configure applications using Net::DNS to direct queries exclusively to a trusted local validating recursive resolver listening on localhost (127.0.0.1 or ::1) with DNSSEC validation enabled, preventing network adversaries from monitoring transaction ID sequences or injecting forged responses.\nAlternatively, if the module is not required by custom scripts or applications, remove the optional package:\n# dnf remove perl-Net-DNS\nCaveats: Removing perl-Net-DNS will break any applications or automation scripts dependent on this module. If configuring or restarting a local DNS resolver service, a service reload or restart will be required and may cause temporary DNS resolution interruptions.",
    "lang" : "en:us"
  },
  "csaw" : false
}