{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.2.5"
                  },
                  {
                    "fixed": "2.10.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "19da0e8a2f4aed2328b25cbde83d7053890d8972"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "addressable-2.10.0",
                "range": [
                  {
                    "fixed": "a12466a0e52fe28a721564b5c51f83a092a7719f"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "354f223087425c5d028f19794b07682af93dd4ed"
            },
            {
              "fixed": "a12466a0e52fe28a721564b5c51f83a092a7719f"
            },
            {
              "fixed": "19da0e8a2f4aed2328b25cbde83d7053890d8972"
            }
          ],
          "repo": "https://github.com/sporkmonger/addressable",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mrrj-5mhw-rcf2"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-158",
      "CWE-626"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141539.json"
  },
  "details": "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.",
  "id": "CVE-2026-141539",
  "modified": "2026-12-01T22:45:30.290697633Z",
  "published": "2026-12-01T21:47:08.600Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141539.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/sporkmonger/addressable/commit/19da0e8a2f4aed2328b25cbde83d7053890d8972"
    },
    {
      "type": "WEB",
      "url": "https://github.com/sporkmonger/addressable/releases/tag/addressable-2.10.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/sporkmonger/addressable/security/advisories/GHSA-mrrj-5mhw-rcf2"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-141539"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Addressable native IDNA backend truncates a host at a pct-encoded NUL when normalizing"
}