{"id":"UBUNTU-CVE-2026-101340","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.","modified":"2026-11-24T14:54:52.593235281Z","published":"2026-11-23T00:00:00Z","upstream":["CVE-2026-101340"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-101340"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-101340"},{"type":"REPORT","url":"https://www.net-dns.org/downloads/CVE-2026-101340.txt"},{"type":"REPORT","url":"https://metacpan.org/release/NLNETLABS/Net-DNS-1.58/diff/NLNETLABS/Net-DNS-1.57"}],"affected":[{"package":{"name":"libnet-dns-perl","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libnet-dns-perl?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.68-1.2","0.68-1.2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.68-1.2build1","binary_name":"libnet-dns-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-101340.json"}},{"package":{"name":"libnet-dns-perl","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libnet-dns-perl?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.81-2","0.81-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnet-dns-perl","binary_version":"0.81-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-101340.json"}},{"package":{"name":"libnet-dns-perl","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libnet-dns-perl?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.10-2","binary_name":"libnet-dns-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-101340.json"}},{"package":{"name":"libnet-dns-perl","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libnet-dns-perl?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20-1","1.21-1","1.22-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.22-1","binary_name":"libnet-dns-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-101340.json"}},{"package":{"name":"libnet-dns-perl","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libnet-dns-perl?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.29-1","1.32-1","1.33-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnet-dns-perl","binary_version":"1.33-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-101340.json"}},{"package":{"name":"libnet-dns-perl","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libnet-dns-perl?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.39-2ubuntu1","1.40-1ubuntu1","1.44-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.44-1ubuntu1","binary_name":"libnet-dns-perl"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-101340.json"}},{"package":{"name":"libnet-dns-perl","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libnet-dns-perl?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.54-1ubuntu1","1.55-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnet-dns-perl","binary_version":"1.55-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-101340.json"}},{"package":{"name":"libnet-dns-perl","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libnet-dns-perl?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.50-1ubuntu1","1.53-1ubuntu1","1.54-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnet-dns-perl","binary_version":"1.54-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-101340.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}