Skip to main content
VulnerabilityPublished

CVE-2026-80213: Ruby resolv · Numeric Truncation Error

Affects Ruby resolvSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 4.0 Medium : upgrade to 0.7.2 or 0.3.2 when convenient.

Data as of 25 Nov 2026, 14:04 UTC

CVSS 3.1 base score
4.0Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.7.2, 0.3.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.

What to do

Upgrade Ruby resolv to 0.7.2 or 0.3.2.

Affected software

ProductAffectedFixed in
RubyresolvAffected
  • >=0.4.0 <0.7.2
Fixed in
  • 0.7.2
RubyresolvAffected
  • <0.3.2
Fixed in
  • 0.3.2

AI-suggested

If you cannot patch yet, applications should avoid resolving attacker-controlled hostnames or implement additional validation outside of the resolv gem to enforce DNS label length constraints according to RFC 1035.

Description

CVE-2026-80213 is a numeric truncation error in the Ruby resolv gem before version 0.7.2. The vulnerability arises because the DNS label length is written as a single octet without validating its range, allowing labels longer than 255 octets to be encoded incorrectly. This causes the wire format of DNS queries to differ from the intended domain name, potentially bypassing allowlist and egress checks. The issue can lead to recursive resolvers caching responses under attacker-controlled names and DNS logs recording misleading domain names.

References

Community reviews

Loading reviews…