CVE-2026-141539

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

Published Dec 1, 2026 CVSS 3.1 · 4.8 Medium EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing
Weaknesses CWE-158
CWE-626
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-158

    Improper Neutralization of Null Byte or NUL Character

  • CWE-626

    Null Byte Interaction Error (Poison Null Byte)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 1, 2026, 9:47 PM
Reserved
Dec 1, 2026, 9:00 PM
Status
Awaiting Analysis
Published
Dec 1, 2026, 10:18 PM
Modified
Dec 1, 2026, 10:18 PM