{"id":"DHI-hb6d-3rgw-i7sh-j3jx","summary":"Net::DNS versions through 1.55 for Perl allow Denial of Service via deep DNS compression pointer chains.","details":"Net::DNS versions through 1.55 for Perl allow Denial of Service via deep DNS compression pointer chains.\n\nNet::DNS::DomainName::decode follows RFC 1035 compression pointers by recursing into itself with no depth limit. It is possible to construct a name which saturates the call stack (at least with larger TCP responses), leading to a potential Denial of Service.\n\nThe guard `$link \u003c $offset` prevents forward and circular chains, but still allows arbitrarily long backward chains. The per-offset cache (`$cache`) is populated at the start of each call and short-circuits only re-traverses of the same offset - the initial descent through a fresh chain still recurses at full depth.\n\nA crafted packet can chain two-byte compression pointers so that each one points two bytes earlier than the previous, producing a chain length of `offset / 2`. For the 14-bit pointer field (max offset 16383) this gives up to ~8191 recursive frames. For a TCP DNS message the limit is the 16-bit length field (~32767 frames). Perl's default C stack handles only a few thousand frames; beyond that the process receives SIGSEGV or similar, which is a denial-of-service for any application parsing untrusted DNS data.\n\nThe vulnerability is triggered by `Net::DNS::Packet-\u003enew(\\$wire)` i.e. any point where the library decodes a DNS message from the network.","modified":"2026-11-16T02:35:26.215229082Z","published":"2026-11-11T19:56:08Z","upstream":["CVE-2026-64194"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-hb6d-3rgw-i7sh-j3jx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64194"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-64194"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3855.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-64194"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-2046.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-64193"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-64194"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-64194"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-64194"}],"affected":[{"package":{"name":"perl-net-dns","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/perl-net-dns"},"versions":["1.53-r0","1.54-r0","1.57-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-hb6d-3rgw-i7sh-j3jx.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}