{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "26.0.0"
              },
              {
                "fixed": "26.0.11"
              },
              {
                "introduced": "26.2.0"
              },
              {
                "fixed": "26.2.2"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "632f214aa2d668e8b59920c3dfcc449da68254a4"
            },
            {
              "fixed": "7dca54e8dc0dbe23995e260c989c9ef2e9023a94"
            },
            {
              "introduced": "4cb4d2d06ed17e3a8bd928f472d3f9e4d1adea1d"
            },
            {
              "fixed": "2ca2ea87b7db283111ebdd6c6132ad76d5b22c78"
            }
          ],
          "repo": "https://github.com/keycloak/keycloak",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "redhat",
    "cwe_ids": [
      "CWE-297"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3501.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "25.0.0"
          },
          {
            "fixed": "25.*"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.",
  "id": "CVE-2025-3501",
  "modified": "2026-08-12T03:51:21.209624247Z",
  "published": "2025-04-29T20:45:29.507Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://access.redhat.com/downloads/content/package-browser/"
    },
    {
      "type": "WEB",
      "url": "https://catalog.redhat.com/software/containers/"
    },
    {
      "type": "WEB",
      "url": "https://www.keycloak.org/"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2025:4335"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2025:4336"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2025:8672"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/errata/RHSA-2025:8690"
    },
    {
      "type": "ADVISORY",
      "url": "https://access.redhat.com/security/cve/CVE-2025-3501"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3501.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-3501"
    },
    {
      "type": "REPORT",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2358834"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/keycloak/keycloak/issues/39350"
    },
    {
      "type": "FIX",
      "url": "https://github.com/keycloak/keycloak/pull/39366"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Org.keycloak.protocol.services: keycloak hostname verification"
}