CVEfocus › CVE database › CVE-2026-126348

CVE-2026-126348Addressable display_uri can show misleading hosts with invalid Punycode A-labels

CVSS 4.3 MediumEPSS 0.4% (higher than 22% of CVEs)Published 2026-11-12Updated 2026-11-13Assigner: GitHub_M

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.0.0 until 2.9.1, the pure-Ruby Addressable::IDNA.to_unicode implementation decodes invalid Punycode A-labels instead of returning them unchanged. Labels that decode to ASCII text or fail to convert back to the same A-label can therefore make Addressable::URI#display_uri show a trusted-looking host while host, normalized_host, and the connection target retain the attacker-controlled encoded host. A trusted-name comparison using Addressable::IDNA.to_unicode output can also treat two different hosts as the same without displaying the URI. The native libidn implementation, to_ascii, and normalized_host are unaffected. This issue is fixed in version 2.9.1.

CWE-1007CWE-20

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
55Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ruby-addressableFix pendingUBUNTU-CVE-2026-126348
Ubuntu 26.04ruby-addressableFix pendingUBUNTU-CVE-2026-126348
Ubuntu 24.04ruby-addressableFix pendingUBUNTU-CVE-2026-126348
Ubuntu 22.04ruby-addressableFix pendingUBUNTU-CVE-2026-126348
Ubuntu 20.04ruby-addressableFix pendingUBUNTU-CVE-2026-126348
Ubuntu 18.04ruby-addressableFix pendingUBUNTU-CVE-2026-126348
Ubuntu 16.04ruby-addressableFix pendingUBUNTU-CVE-2026-126348
Debian 14ruby-addressableFixed2.9.2-1DEBIAN-CVE-2026-126348
Debian 13ruby-addressableFix pendingDEBIAN-CVE-2026-126348
Debian 12ruby-addressableFix pendingDEBIAN-CVE-2026-126348
Red Hat Enterprise Linux 10rubyFix pending
Fix deferred
Red Hat Enterprise Linux 10ruby-bundled-gemsFix pending
Fix deferred
Red Hat Enterprise Linux 10ruby-default-gemsFix pending
Fix deferred
Red Hat Enterprise Linux 10ruby-develFix pending
Fix deferred
Red Hat Enterprise Linux 10ruby-docFix pending
Fix deferred
Red Hat Enterprise Linux 10ruby-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-bigdecimalFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-bundlerFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-io-consoleFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-irbFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-jsonFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-minitestFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-power_assertFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-psychFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-raccFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-rakeFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-rbsFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-rdocFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-rexmlFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-rssFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-test-unitFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygem-typeprofFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygemsFix pending
Fix deferred
Red Hat Enterprise Linux 10rubygems-develFix pending
Fix deferred
Red Hat Enterprise Linux 9rubyFix pending
Fix deferred
Red Hat Enterprise Linux 9ruby-default-gemsFix pending
Fix deferred
Red Hat Enterprise Linux 9ruby-develFix pending
Fix deferred
Red Hat Enterprise Linux 9ruby-docFix pending
Fix deferred
Red Hat Enterprise Linux 9ruby-libsFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-bigdecimalFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-bundlerFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-io-consoleFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-irbFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-jsonFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-minitestFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-power_assertFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-psychFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-rakeFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-rbsFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-rdocFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-rexmlFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-rssFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-test-unitFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygem-typeprofFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygemsFix pending
Fix deferred
Red Hat Enterprise Linux 9rubygems-develFix pending
Fix deferred
RubyGems libraryaddressableFixed2.9.1GHSA-9crm-g4mf-wc5j

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.