CVE-2026-80212
High · 7.5CVSS
7.5
EPSS
0.6%
Published
Aug 27, 2026
CISA due date
—
The record
An issue was discovered in the resolv gem before 0.7.2 for Ruby. Resolv::DNS::Resource.get_class, Resolv::DNS::Resource::Generic.create, and Resolv::DNS::SvcParam::Generic.create generate a new class for each unknown DNS resource record (type, class) pair, or each unknown SvcParamKey, encountered while decoding a response. Each generated class was permanently registered both as a constant on Resource (or SvcParam::Generic) and as an entry in a class-lookup hash (ClassHash), and thus the class remained reachable through that constant after the response was discarded. Type and class are each 16-bit values, and thus an attacker controlling DNS responses (a spoofed response, or a malicious or hijacked upstream DNS server) has roughly 2^32 distinct (type, class) pairs to choose from. A single response of a few hundred kilobytes carrying tens of thousands of distinct unknown types permanently grows process memory by tens of megabytes; repeated responses accumulate without bound and are never reclaimed by garbage collection, because the constant keeps each class alive. Any code path that calls Resolv::DNS::Message.decode on attacker-influenced DNS responses is affected. resolv is a default gem, and thus this is reachable from a plain Ruby installation without any additional dependency.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-64847 AnyIO is a high level asynchronous concurrency and networking framework that works on top… CWE-770
- CVE-2026-75516 The RabbitMQ Java client library allows Java and JVM-based applications to connect to and… CWE-770
- CVE-2026-77403 RabbitMQ amqp091-go is a Go AMQP 0.9.1 client. CWE-770
- CVE-2026-80225 In NLnetLabs Unbound up to and including 1.26.0, a degradation of service vulnerability… CWE-770
- CVE-2026-50270 dd-trace-java is a Datadog APM client for Java. CWE-770
- CVE-2026-50276 dd-trace-rb is Datadog's client library for Ruby. CWE-770
- CVE-2026-78662 Previously, a channel registered in the mux's chanList is not usable until it is… CWE-770
- CVE-2026-56855 Previously, after a channel has been established, a malicious peer could send crafted… CWE-770