Ruby 3.3.13 has been released with security fixes for CVE-2026-80212 and CVE-2026-80213, delivered through an update to the default resolv gem to version 0.3.2. It also fixes regular-expression compilation bugs associated with four GitLab CVEs. Ruby 3.3 is in its security maintenance phase; the release includes these additional compilation fixes as an exception.
Two vulnerabilities have been found in the resolv gem bundled with Ruby. CVE-2026-80212 can cause applications resolving attacker-influenced hostnames to retain DNS responses and exhaust memory; CVE-2026-80213 can bypass hostname checks and direct a lookup to a different domain. The second issue requires a hostname exceeding DNS length limits, while validation that rejects names over 255 octets or labels over 63 octets is not affected. The advisory recommends upgrading the gem.