p PatchFirst

CVE-2026-80212

CVE-2026-80212

CVSS 7.5 · High · EPSS 0.6% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • resolvUpdate to 0.3.2 / 0.7.2
  • ruby Alpine 3.21Update to 3.3.13-r0
  • ruby Alpine 3.22Update to 3.4.12-r0
  • ruby Alpine 3.23Update to 3.4.12-r0
  • and 4 more

Check the installed version:

apk list -I -o ruby

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • resolv

    Versions
    • ≥ 0, < 0.3.2: Affected (semver)
    • ≥ 0.4.0, < 0.7.2: Affected (semver)

    Update to 0.3.2; Update to 0.7.2

  • ruby Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 3.3.13-r0

    Update to 3.3.13-r0

  • ruby Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 3.4.12-r0

    Update to 3.4.12-r0

  • ruby Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 3.4.12-r0

    Update to 3.4.12-r0

  • ruby Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 3.4.12-r0

    Update to 3.4.12-r0

  • ruby3.1 Debian 12

    Versions
    • 3.1.2-7
    • 3.1.2-7+deb12u1
    • 3.1.2-7+hurd.1
    • 3.1.2-8
    • 3.1.2-8.1~exp1
    • 3.1.2-8.3
    All versions (8)
    • 3.1.2-8.4
    • 3.1.2-8.5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ruby3.3 Debian 13

    Versions
    • 3.3.8-2
    • 3.3.8-2.1
    • 3.3.8-2.2
    Affected ranges
    • ECOSYSTEM: < 3.3.13-0+deb13u1

    Update to 3.3.13-0+deb13u1

  • ruby3.3 Debian 14

    Versions
    • 3.3.8-2
    • 3.3.8-2.1
    • 3.3.8-2.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →