{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apache:directory_ldap_api:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "2.0.0"
              },
              {
                "fixed": "2.1.7"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "763ad553749e59cfb12259c8f58a75aee3653d1a"
            },
            {
              "fixed": "d57c39c7883ad554eef1bba1eee55cdd008775e3"
            }
          ],
          "repo": "https://github.com/apache/directory-ldap-api",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "apache",
    "cwe_ids": [
      "CWE-297"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35563.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "2.0.0"
          },
          {
            "last_affected": "2.1.7"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "It was identified that the LDAP client implementation in version 2.1.7 does not verify if the server certificate matches the intended LDAP \nhostname. While the underlying code validates the certificate chain \nagainst a trusted authority, the absence of endpoint identification \nallows a valid certificate issued for an entirely unrelated host to be \nimproperly accepted. This oversight leaves the connection highly \nvulnerable to server impersonation and complete connection compromise.\n\n\nThe\n root cause of this vulnerability lies in the incomplete TLS server \nidentity verification within the LDAP client implementation.\n\n\n\n\nThe attacker requires MITM capability on the network to exploit this vulnerability. This attacker must be able to present a certificate trusted by the client's configured trust store.\n\n\n\n\nThe hostname verification has been enforced in the new version of the LDAP API",
  "id": "CVE-2026-35563",
  "modified": "2026-07-08T05:37:01.055814701Z",
  "published": "2026-06-01T07:12:05.815Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/06/01/2"
    },
    {
      "type": "WEB",
      "url": "https://repo.maven.apache.org/maven2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35563.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://lists.apache.org/thread/5rc2nzqxp1m9wknyf93r8dnp46fhc1nn"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-35563"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:L/SA:L",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Apache Directory LDAP API: LDAP client implementation does not verify if the server certificate matches the intended LDAP hostname"
}