{"id":"CVE-2026-141539","summary":"Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing","details":"Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.2.5 until 2.10.0, With the native IDNA backend, Addressable::URI#normalized_host passes a percent-encoded NUL after decoding to libidn, which truncates the remainder of the label. An application that checks the original host but uses normalize, origin, display_uri, or normalized_host can be made to send a request to a shortened host that it intended to block. This issue is fixed in version 2.10.0.","aliases":["GHSA-mrrj-5mhw-rcf2"],"modified":"2026-12-01T23:01:02.522844878Z","published":"2026-12-01T21:47:08.600Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-158","CWE-626"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141539.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141539.json"},{"type":"FIX","url":"https://github.com/sporkmonger/addressable/commit/19da0e8a2f4aed2328b25cbde83d7053890d8972"},{"type":"WEB","url":"https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0"},{"type":"ADVISORY","url":"https://github.com/sporkmonger/addressable/security/advisories/GHSA-mrrj-5mhw-rcf2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141539"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sporkmonger/addressable","events":[{"introduced":"354f223087425c5d028f19794b07682af93dd4ed"},{"fixed":"a12466a0e52fe28a721564b5c51f83a092a7719f"},{"fixed":"19da0e8a2f4aed2328b25cbde83d7053890d8972"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"2.2.5"},{"fixed":"2.10.0"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"19da0e8a2f4aed2328b25cbde83d7053890d8972"}],"source":"REFERENCES_COMMIT"},{"original_tag":"addressable-2.10.0","range":[{"fixed":"a12466a0e52fe28a721564b5c51f83a092a7719f"}],"source":"REFERENCES_TAG"}]}}],"versions":["addressable-2.9.2","addressable-2.9.1","addressable-2.9.0","addressable-2.8.10","addressable-2.8.9","addressable-2.8.8","addressable-2.8.7","addressable-2.8.6","addressable-2.8.5","addressable-2.8.4","addressable-2.8.3","addressable-2.8.2","addressable-2.8.1","addressable-2.7.0","addressable-2.6.0","addressable-2.5.2","addressable-2.5.1","addressable-2.5.0","addressable-2.4.0","addressable-2.3.8","addressable-2.3.7","addressable-2.3.6","addressable-2.3.5","addressable-2.3.4","addressable-2.3.3","addressable-2.3.2","addressable-2.3.1","addressable-2.3.0","addressable-2.2.8","addressable-2.2.7","addressable-2.2.6","addressable-2.2.5"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-141539.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}