CVE-2026-80213: Ruby resolv · Numeric Truncation Error
Affects Ruby resolvSource CVE Database V5
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 27 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| Rubyresolv | Affected
| Fixed in
|
| Rubyresolv | Affected
| Fixed in
|
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.