Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing
Summary
| CVE | CVE-2026-141539 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-01 22:18:04 UTC |
| Updated | 2026-12-01 22:18:04 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 4.8 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Problem Types: CWE-158 | CWE-626 | CWE-158 CWE-158: Improper Neutralization of Null Byte or NUL Character | CWE-626 CWE-626: Null Byte Interaction Error (Poison Null Byte)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 4.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Sporkmonger | Addressable | affected >= 2.2.5, < 2.10.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/sporkmonger/addressable/security/advisories/GHSA-mrrj-5mhw-rcf2 | [email protected] | github.com | |
| github.com/sporkmonger/addressable/commit/19da0e8a2f4aed2328b25cbde83d70... | [email protected] | github.com | |
| github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.