{"id":"DHI-fcgq-jtmg-vbis-rm34","summary":"An issue was discovered in the resolv gem before 0.7.2 for Ruby. Resolv::DNS::Resource.get_class…","details":"An issue was discovered in the resolv gem before 0.7.2 for Ruby. Resolv::DNS::Resource.get_class, Resolv::DNS::Resource::Generic.create, and Resolv::DNS::SvcParam::Generic.create generate a new class for each unknown DNS resource record (type, class) pair, or each unknown SvcParamKey, encountered while decoding a response. Each generated class was permanently registered both as a constant on Resource (or SvcParam::Generic) and as an entry in a class-lookup hash (ClassHash), and thus the class remained reachable through that constant after the response was discarded. Type and class are each 16-bit values, and thus an attacker controlling DNS responses (a spoofed response, or a malicious or hijacked upstream DNS server) has roughly 2^32 distinct (type, class) pairs to choose from. A single response of a few hundred kilobytes carrying tens of thousands of distinct unknown types permanently grows process memory by tens of megabytes; repeated responses accumulate without bound and are never reclaimed by garbage collection, because the constant keeps each class alive. Any code path that calls Resolv::DNS::Message.decode on attacker-influenced DNS responses is affected. resolv is a default gem, and thus this is reachable from a plain Ruby installation without any additional dependency.","modified":"2026-11-20T04:30:24.869981317Z","published":"2026-11-11T16:59:50Z","upstream":["CVE-2026-80212"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-fcgq-jtmg-vbis-rm34"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80212"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2026-72285.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72285"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-72286.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72286"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-72484.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72484"},{"type":"ADVISORY","url":"https://errata.almalinux.org/9/ALSA-2026-72485.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72485"},{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2026-73519.html"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:73519"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-80212"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-2144.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-80213"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-80212"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-2145.html"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-80212"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-72285.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-72285.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-72286.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-72286.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-72427.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-72427.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-72484.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-72484.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-72485.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-72485.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-72785.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-72785.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-73519.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-73519.html"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:72285"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:72286"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:72427"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:72484"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:72485"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:72785"},{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2026:73519"}],"affected":[{"package":{"name":"ruby","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/ruby"},"versions":["3.2.11-r1","3.3.12-r3","3.4.10-r2","3.4.10-r3","3.4.12-r0","3.4.12-r1","3.4.13-r1","3.4.8-r0","3.4.9-r0","4.0.6-r3","4.0.6-r4","4.0.7-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-fcgq-jtmg-vbis-rm34.json"}},{"package":{"name":"ruby","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/ruby"},"versions":["3.2.11-r1","3.3.12-r3","3.4.10-r2","3.4.10-r3","3.4.12-r0","3.4.12-r1","3.4.13-r1","3.4.9-r0","4.0.6-r3","4.0.6-r4","4.0.7-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-fcgq-jtmg-vbis-rm34.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"}]}