cvelo
P3 · MediumCVSS 4.8EPSS 0.4%

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

  • CVE-2026-141539
  • GHSA-mrrj-5mhw-rcf2
  • EUVD-2026-140768

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.

Text from the CVE.org record.

Recommendation

  • addressable project addressable

    • If you run a version from 2.2.5 to before 2.10.0update to 2.10.0 or laterMinor version change: check the release notes

Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • addressable project addressable

    Affected versionsFixed in
    from 2.2.5 to before 2.10.02.10.0
  • addressableRubyGems

    Affected versionsFixed in
    from 2.2.5 up to 2.9.2none stated

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.