Skip to main content
EPSS 0.4%top 68%

CVE-2026-80212: CWE-770 Allocation of Resources Without Limits or Throttling in Ruby resolv

0
High
VulnerabilityCVE-2026-80212cvecve-2026-80212cwe-770
Published: 08/27/2026 (08/27/2026, 14:15:04 UTC)
Source: CVE Database V5
Vendor/Project: Ruby
Product: resolv

Description

CVE-2026-80212 is a high-severity vulnerability in the Ruby resolv gem before version 0.7.2. It involves uncontrolled allocation of resources when decoding DNS responses containing unknown resource record types or service parameter keys. This causes permanent memory growth as new classes are dynamically generated and retained indefinitely, leading to potential denial of service via memory exhaustion. The issue affects any code path calling Resolv::DNS::Message.decode on attacker-influenced DNS responses. The resolv gem is included by default in Ruby installations, making this vulnerability broadly reachable.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Ruby

resolv

Affected versions
>=0 <0.3.2>=0.4.0 <0.7.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 12:37:47 UTC

Technical Analysis

The vulnerability in Ruby's resolv gem (prior to 0.7.2) arises from the dynamic generation and permanent registration of new classes for each unknown DNS resource record (type, class) pair or unknown SvcParamKey encountered during DNS response decoding. Since type and class are 16-bit values, an attacker controlling DNS responses can craft up to approximately 2^32 distinct pairs, causing the process memory to grow unboundedly as these classes remain reachable and are not garbage collected. This leads to resource exhaustion and potential denial of service. The flaw affects all code paths invoking Resolv::DNS::Message.decode on attacker-influenced DNS responses. The gem is a default Ruby component, so no additional dependencies are required to be vulnerable.

Potential Impact

An attacker capable of influencing DNS responses can cause unbounded memory growth in applications using the vulnerable resolv gem by triggering the creation of numerous unique classes that are never garbage collected. This can lead to denial of service through memory exhaustion. There is no direct impact on confidentiality or integrity, but availability is significantly affected.

Mitigation Recommendations

No official fix or patch is currently confirmed. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted DNS responses with Resolv::DNS::Message.decode or implement external controls to limit exposure to attacker-controlled DNS data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-08-26T01:42:16.295Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a906bafacd9273b4983a0e5

Added to database: 08/27/2026, 16:54:07 UTC

Last enriched: 09/08/2026, 12:37:47 UTC

Last updated: 10/11/2026, 18:48:22 UTC

Views: 44

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses