Read the docs
TI-2026-55454 Aliases CVE-2026-80213GHSA-jr95-x3fr-rcg4

An issue was discovered in the resolv gem before 0.7.2 for Ruby.

Priority LOW 18CWE-197Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
None · Low · None
Fix status
Partial Red Hat: 1 fixed, 7 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.

Summary

An issue was discovered in the resolv gem before 0.7.2 for Ruby. Resolv::DNS::MessageEncoder wrote a DNS label's length into a single octet without checking its range. A label longer than 255 octets had its length stored modulo 256 but the label data was written unchanged, and thus the bytes on the wire described a different name than the one the application asked to encode. RFC 1035 section 2.3.4 limits a label to 63 octets, and the two high bits of the length octet are reserved for compression pointers. put_string packed the length with put_pack("C", d.length) and put_label used it for labels, and thus any value from 0 to 255 could end up as a label length octet, including the reserved 0x40-0xBF range and the 0xC0-0xFF pointer range. Resolv::DNS::Name.create did not check per-label or total name length either, and thus an attacker-controlled hostname reached the encoder unchanged. An application that resolves an attacker-controlled hostname sends a query whose wire bytes name a domain the attacker chose. A hostname suffix that the application validates against an allowlist becomes padding that never appears on the wire, and thus allowlist and egress checks can be bypassed. The recursive resolver caches the response under the attacker's name, and DNS logs record that name rather than the one the application asked for. A label length whose low octet lands in the 0xC0-0xFF range produces a length octet that conforming parsers read as the start of a compression pointer, with the following attacker-controlled byte as the offset.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00271 19th percentileScored 2026-11-07
Fix Partial resolv (Ruby): 0.3.2, 0.7.2Red Hat: 5 advisoriesRed Hat: 1 fixed, 7 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rubyresolvbefore 0.3.2; 0.4.0 to before 0.7.20.3.2, 0.7.2Patch availableCNA
  • resolv Vendorruby Affected before 0.3.2; 0.4.0 to before 0.7.2 Fixed in 0.3.2, 0.7.2 Patch available CNA

Remediation

  • Fix · CNA resolv (Ruby) Fixed in 0.3.2, 0.7.2

Red Hat 5 advisories

  • RHSA-2026:62563 Released 2026-09-02 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images ruby4.0-4.0.6-37.3.hum1@aarch64, ruby4.0-4.0.6-37.3.hum1@src, ruby4.0-4.0.6-37.3.hum1@x86_64 +46
  • RHSA-2026:62562 Released 2026-09-02 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images ruby3.3-3.3.10-23.6.hum1@aarch64, ruby3.3-3.3.10-23.6.hum1@src, ruby3.3-3.3.10-23.6.hum1@x86_64 +46
  • RHSA-2026:57994 Released 2026-08-21 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images ruby3.4-3.4.10-31.6.hum1@aarch64, ruby3.4-3.4.10-31.6.hum1@src, ruby3.4-3.4.10-31.6.hum1@x86_64 +10
Show 2 more Red Hat advisories
  • RHSA-2026:57986 Released 2026-08-21 · Red Hat rating Important
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images ruby3.3-3.3.10-23.5.hum1@aarch64, ruby3.3-3.3.10-23.5.hum1@src, ruby3.3-3.3.10-23.5.hum1@x86_64 +10
  • RHSA-2026:57565 Released 2026-08-20 · Red Hat rating Important
    Red Hat Hardened Images RPMs Security Update
    • Red Hat Hardened Images ruby4.0-4.0.6-37.2.hum1@aarch64, ruby4.0-4.0.6-37.2.hum1@src, ruby4.0-4.0.6-37.2.hum1@x86_64 +46

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Ruby resolv 0.3.2, 0.7.2

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2026-55453 Resource allocation without limits in ruby resolvPriority LOW 39

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Lightspeed CoreAffectedNo fix yet: Fix deferred
Red Hat 3scale API Management Platform 2AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Hardened ImagesFixed RHSA-2026:57565, RHSA-2026:57986, RHSA-2026:57994, RHSA-2026:62562, RHSA-2026:62563
Not affected: 1 product
  • Red Hat Hardened Images

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-80213
  2. 2026-10-03 Alias added: GHSA-jr95-x3fr-rcg4
  3. 2026-11-06 Affected versions changed · Red Hat

References

  • TI-2026-71508 Integer overflow in GitLab allows code execution on the server KEVCVSS 3.1CRITICAL 10.0
  • TI-2026-50176 Use after free in ruby json CVSS 4.0HIGH 8.7
  • TI-2017-12709 Ruby before 2.4.3 allows Net::FTP command injection. CVSS 3.0HIGH 8.8
  • TI-2008-03501 Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value… CVSS 2.0HIGH 7.8
  • TI-2021-09891 In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web… CVSS 3.1HIGH 7.5
  • TI-2025-18855 Net::IMAP vulnerable to possible DoS by memory exhaustion CVSS 3.1MEDIUM 6.5
See all 135 →

Sources