Home / Ruby / resolv / CVE-2026-80212
CVE-2026-80212: is it exploited, and which versions of Ruby resolv are affected and fixed?
CVE-2026-80212 is a denial of service (resources allocated without limits) vulnerability in Ruby resolv. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: resolv before 0.3.2 and resolv from 0.4.0 before 0.7.2 (CVE record by mitre). Fixed in 0.3.2 and 0.7.2 (CVE record by mitre). Severity: High (7.5, CVSS 3.1, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-80212?
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.
From the CVE record by mitre, last updated August 27, 2026, 19:33 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Ruby | resolv | before 0.3.2 from 0.4.0 before 0.7.2 | 0.3.2, 0.7.2 |
As the CVE record by mitre states it, last updated August 27, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-80212?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | mitre |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-80212 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, August 27, 2026)
- EPSS
- 0.40% probability of exploitation activity in the next 30 days, percentile 36.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- https://github.com/ruby/resolv
- https://www.ruby-lang.org/en/news/2026/08/27/multiple-vulnerabilities-in-resolv/
When was it published, and where is the official record?
- Reserved
- August 26, 2026
- Published
- August 27, 2026, 14:15 UTC
- CVE record updated
- August 27, 2026, 19:33 UTC by mitre
- NVD
- Deferred, last modified September 9, 2026, 16:04 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect resolv?
- Aug 27, 2026CVE-2026-80213 Ruby resolv: numeric Truncation Error
- Jul 12, 2025CVE-2025-24294 Ruby resolv: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-80212
Is CVE-2026-80212 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Ruby resolv are affected by CVE-2026-80212?
resolv before 0.3.2 and resolv from 0.4.0 before 0.7.2, per the CVE record by mitre. The tables above give every range the sources list.
Which version fixes CVE-2026-80212?
0.3.2 and 0.7.2, per the CVE record by mitre. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-80212?
High (7.5, CVSS 3.1, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2026-80212?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.