CVE-2026-80212
resolv: resolv gem: Denial of Service via uncontrolled memory growth from crafted DNS responses
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · August 27, 2026
Updated · October 21, 2026
Description
A flaw was found in the resolv gem. An attacker controlling DNS responses (e.g., a spoofed response or a malicious upstream DNS server) can exploit this by sending crafted DNS responses containing many distinct unknown DNS resource record pairs or SvcParamKeys. This leads to uncontrolled memory growth, as each unknown entry generates a new class that is permanently registered and never reclaimed. Repeated exploitation can result in a Denial of Service (DoS) due to unbounded memory accumulation.
Statement
This is an Important denial of service vulnerability in the Ruby resolv gem, which is part of the Ruby standard library. An attacker can trigger unbounded memory growth by sending specially crafted DNS responses, either through spoofing or a compromised DNS server. This can lead to resource exhaustion and system instability, possibly affecting other applications than those written in Ruby and using the resolv gem.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-770 · Allocation of Resources Without Limits or Throttling