Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-80213

published medium CVSS 3.1 · 4.0

resolv: Resolv gem: DNS allowlist and egress bypass, and cache poisoning via crafted hostnames

Title from Red Hat VEX

Published
27 Aug 2026, 14:22:23 UTC
Updated
27 Aug 2026, 17:52:14 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ruby — resolv0 to < 0.3.2 · 0.4.0 to < 0.7.2 · Other versions: unaffected Affected Not stated mitre
Amazon Linux AL2 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-2144 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-2145 Fixed Not stated Amazon Linux assessment
Alpine Linux edge ruby Fixed 3.4.12-r0 Package fix record
Debian trixie ruby3.3 Advisory build 3.3.13-0+deb13u1 DSA-6614-1
Amazon Linux AL2023 ruby3.4aarch64 Listed in advisory Not stated ALAS2023-2026-2145
Show 12 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux edge ruby Fixed 4.0.10-r0 Package fix record
Alpine Linux v3.21 ruby Fixed 3.3.13-r0 Package fix record
Alpine Linux v3.22 ruby Fixed 3.4.12-r0 Package fix record
Alpine Linux v3.23 ruby Fixed 3.4.12-r0 Package fix record
Alpine Linux v3.24 ruby Fixed 3.4.12-r0 Package fix record
Amazon Linux AL2023 ruby3.4noarch Listed in advisory Not stated ALAS2023-2026-2145
Amazon Linux AL2023 ruby3.4src Listed in advisory Not stated ALAS2023-2026-2145
Amazon Linux AL2023 ruby3.4x86_64 Listed in advisory Not stated ALAS2023-2026-2145
Amazon Linux AL2023 ruby4.0aarch64 Listed in advisory Not stated ALAS2023-2026-2144
Amazon Linux AL2023 ruby4.0noarch Listed in advisory Not stated ALAS2023-2026-2144
Amazon Linux AL2023 ruby4.0src Listed in advisory Not stated ALAS2023-2026-2144
Amazon Linux AL2023 ruby4.0x86_64 Listed in advisory Not stated ALAS2023-2026-2144

Description

An issue was discovered in the resolv gem before 0.7.2 for Ruby. Resolv::DNS::MessageEncoder wrote a DNS label's length into a single octet without checking its range. A label longer than 255 octets had its length stored modulo 256 but the label data was written unchanged, and thus the bytes on the wire described a different name than the one the application asked to encode. RFC 1035 section 2.3.4 limits a label to 63 octets, and the two high bits of the length octet are reserved for compression pointers. put_string packed the length with put_pack("C", d.length) and put_label used it for labels, and thus any value from 0 to 255 could end up as a label length octet, including the reserved 0x40-0xBF range and the 0xC0-0xFF pointer range. Resolv::DNS::Name.create did not check per-label or total name length either, and thus an attacker-controlled hostname reached the encoder unchanged. An application that resolves an attacker-controlled hostname sends a query whose wire bytes name a domain the attacker chose. A hostname suffix that the application validates against an allowlist becomes padding that never appears on the wire, and thus allowlist and egress checks can be bypassed. The recursive resolver caches the response under the attacker's name, and DNS logs record that name rather than the one the application asked for. A label length whose low octet lands in the 0xC0-0xFF range produces a length octet that conforming parsers read as the start of a compression pointer, with the following attacker-controlled byte as the offset.

en · mitre · cna

Vendor advisories explicitly linked to this CVE.

9

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
4.0 / 10
Severity
medium
Provider
mitre · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Ruby resolv 0 to < 0.3.2 (affected · semver)0.4.0 to < 0.7.2 (affected · semver)Default: unaffected mitre · cna

Weaknesses

1
  • CWE-197 CWE-197 Numeric Truncation Error (mitre · cna)

References

2

Provider assertions

2

mitre · cna

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
e82d113229a1917d695c197f6f1aae0904129523ebf3594c4a7ec7edcde5cd68
Ingested
23 Sep 2026, 09:34:17 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected