Addressable versions 2.2.5 through before 2.10.0, when used with the native IDNA backend provided by the idn-ruby gem, improperly truncate hostnames at a percent-encoded NUL character during normalization. This causes discrepancies between the original URI host and its normalized form, potentially allowing bypass of host-based denylist checks if an application inconsistently compares or uses these forms. The issue is fixed in version 2.10.0 by preserving labels containing NUL characters as the pure-Ruby backend does.