CVE-2026-80212: CWE-770 Allocation of Resources Without Limits or Throttling in Ruby 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
Affected software
Ruby
resolv
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.