7.5

CVE-2026-80212: ruby resolv

Deferred
AliasesRHSA-2026:72285RHSA-2026:72286RHSA-2026:72427
Published 27-08-2026Last modified 27-08-2026

Vulnerability summary

CVE-2026-80212 is a high (CVSS 7.5) vulnerability in ruby resolv. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 34.4% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 03-11-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.40%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6

Timeline

  1. 27-08-2026
    PublishedVulnerability first disclosed.
  2. 27-08-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.40%

Chance of exploitation in the next 30 days

Percentile

34%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.40% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat53 products
  • ruby< 0:3.3.12-9.module+el8.10.0+24850+a62b5b25 | < 0:3.0.7-168.el9_8 | < 0:4.0.6-35.module+el9.8.0+24852+4534d062 | < 0:3.3.12-9.module+el9.8.0+24851+57cc0ffc | < 0:3.3.12-15.el10_2 | < 0:3.3.12-12.el10_0 | < 0:3.0.7-166.el9_6 | < 0:3.0.7-163.el9_4 | < 0:3.0.4-162.el9_2
  • ruby-bundled-gems< 0:3.3.12-9.module+el8.10.0+24850+a62b5b25 | < 0:4.0.6-35.module+el9.8.0+24852+4534d062 | < 0:3.3.12-9.module+el9.8.0+24851+57cc0ffc | < 0:3.3.12-15.el10_2 | < 0:3.3.12-12.el10_0
  • ruby-bundled-gems-debuginfo< 0:3.3.12-9.module+el8.10.0+24850+a62b5b25 | < 0:4.0.6-35.module+el9.8.0+24852+4534d062 | < 0:3.3.12-9.module+el9.8.0+24851+57cc0ffc | < 0:3.3.12-15.el10_2 | < 0:3.3.12-12.el10_0
  • ruby-debuginfo< 0:3.3.12-9.module+el8.10.0+24850+a62b5b25 | < 0:3.0.7-168.el9_8 | < 0:4.0.6-35.module+el9.8.0+24852+4534d062 | < 0:3.3.12-9.module+el9.8.0+24851+57cc0ffc | < 0:3.3.12-15.el10_2 | < 0:3.3.12-12.el10_0 | < 0:3.0.7-166.el9_6 | < 0:3.0.7-163.el9_4 | < 0:3.0.4-162.el9_2
  • ruby-debugsource< 0:3.3.12-9.module+el8.10.0+24850+a62b5b25 | < 0:3.0.7-168.el9_8 | < 0:4.0.6-35.module+el9.8.0+24852+4534d062 | < 0:3.3.12-9.module+el9.8.0+24851+57cc0ffc | < 0:3.3.12-15.el10_2 | < 0:3.3.12-12.el10_0 | < 0:3.0.7-166.el9_6 | < 0:3.0.7-163.el9_4 | < 0:3.0.4-162.el9_2
Chainguard4 products
  • ruby-3.2All versions (No fix recorded)
  • ruby-3.3< 3.3.12-r5
  • ruby-3.4All versions (No fix recorded) | < 3.4.10-r7
  • ruby-4.0All versions (No fix recorded) | < 4.0.7-r0
Wolfi4 products
  • ruby-3.2All versions (No fix recorded)
  • ruby-3.3< 3.3.12-r5
  • ruby-3.4All versions (No fix recorded) | < 3.4.10-r7
  • ruby-4.0All versions (No fix recorded) | < 4.0.7-r0
Alpine1 product
  • ruby< 3.3.13-r0 | < 3.4.12-r0
Ruby1 product
  • resolv< 0.3.2 | ≥ 0.4.0, < 0.7.2

5 vendors · 63 products

References

30 links
Show all 30 references