CVE-2026-141539 PUBLISHED

Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing

Assigner: GitHub_M
Reserved: 01.12.2026 Published: 01.12.2026 Updated: 01.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS Score: 4.8

Product Status

Vendor sporkmonger
Product addressable
Versions
  • Version >= 2.2.5, < 2.10.0 is affected

References

Problem Types

  • CWE-158: Improper Neutralization of Null Byte or NUL Character CWE
  • CWE-626: Null Byte Interaction Error (Poison Null Byte) CWE