{"id":"UBUNTU-CVE-2026-126348","details":"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.","modified":"2026-11-18T11:14:54Z","published":"2026-11-12T22:19:00Z","upstream":["CVE-2026-126348"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-126348"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-126348"},{"type":"REPORT","url":"https://github.com/sporkmonger/addressable/commit/b8a59cc0e03f8704f1d7c8122fc8f7ef8548362d"},{"type":"REPORT","url":"https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1"},{"type":"REPORT","url":"https://github.com/sporkmonger/addressable/security/advisories/GHSA-9crm-g4mf-wc5j"}],"affected":[{"package":{"name":"ruby-addressable","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/ruby-addressable?arch=source&distro=esm-apps-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.8-1","2.3.8-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-addressable","binary_version":"2.3.8-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126348.json"}},{"package":{"name":"ruby-addressable","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/ruby-addressable?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.1-2","2.5.2-1","2.5.2-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5.2-1ubuntu0.1~esm1","binary_name":"ruby-addressable"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126348.json"}},{"package":{"name":"ruby-addressable","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-addressable?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.2-1","2.7.0-1","2.7.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-addressable","binary_version":"2.7.0-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126348.json"}},{"package":{"name":"ruby-addressable","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/ruby-addressable?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.0-2","2.8.0-3","2.8.0-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-addressable","binary_version":"2.8.0-3ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126348.json"}},{"package":{"name":"ruby-addressable","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-addressable?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.1-1","2.8.5-1","2.8.5-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.5-1ubuntu0.1~esm1","binary_name":"ruby-addressable"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126348.json"}},{"package":{"name":"ruby-addressable","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/ruby-addressable?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.7-2","2.9.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-addressable","binary_version":"2.9.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126348.json"}},{"package":{"name":"ruby-addressable","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/ruby-addressable?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.7-2","2.8.7-2ubuntu0.26.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.7-2ubuntu0.26.04.1~esm1","binary_name":"ruby-addressable"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126348.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}