Skip to content
Heist/ feed
Back to feed
High

apache-directory-api — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-35563

It was identified that the LDAP client implementation in version 2.1.7 does not verify if the server certificate matches the intended LDAP hostname. While the underlying code validates the certificate chain against a trusted authority, the absence of endpoint identification allows a valid certificate issued for an entirely unrelated host to be improperly accepted. This oversight leaves the connection highly vulnerable to server impersonation and complete connection compromise. The root cause of this vulnerability lies in the incomplete TLS server identity verification within the LDAP client implementation. The 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. The hostname verification has been enforced in the new version of the LDAP API

Products
apache-directory-api
Affected versions
1.0.0-1, 1.0.0-2, 1.0.0~M20-3, 1.0.0~M20-5, 2.1.2-1, 2.1.2-2, 2.1.2-2build1
Fixed versions
Not specified
CVEs
CVE-2026-35563
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:10 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-35563

core-osv · Original source

Published 1 Jun 2026, 08:16 UTC

It was identified that the LDAP client implementation in version 2.1.7 does not verify if the server certificate matches the intended LDAP hostname. While the underlying code validates the certificate chain against a trusted authority, the absence of endpoint identification allows a valid certificate issued for an entirely unrelated host to be improperly accepted. This oversight leaves the connection highly vulnerable to server impersonation and complete connection compromise. The root cause of this vulnerability lies in the incomplete TLS server identity verification within the LDAP client implementation. The 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. The hostname verification has been enforced in the new version of the LDAP API

osv:UBUNTU-CVE-2026-35563

apache-directory-api

Fixed versions: Not specified

apache-directory-api

Fixed versions: Not specified

apache-directory-api

Fixed versions: Not specified

apache-directory-api

Fixed versions: Not specified

apache-directory-api

Fixed versions: Not specified

apache-directory-api

Fixed versions: Not specified

apache-directory-api

Fixed versions: Not specified

apache-directory-api

Fixed versions: Not specified

Complete source record
{
  "id": "4c7615a194e92db22176db7ffea3238c05b3e6cff664876c923babdd24db6cfe",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-35563",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-35563",
    "summary": "It was identified that the LDAP client implementation in version 2.1.7 does not verify if the server certificate matches the intended LDAP hostname. While the underlying code validates the certificate chain against a trusted authority, the absence of endpoint identification allows a valid certificate issued for an entirely unrelated host to be improperly accepted. This oversight leaves the connection highly vulnerable to server impersonation and complete connection compromise. The root cause of this vulnerability lies in the incomplete TLS server identity verification within the LDAP client implementation. The 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. The hostname verification has been enforced in the new version of the LDAP API",
    "evidence": "osv:UBUNTU-CVE-2026-35563",
    "products": [
      {
        "name": {
          "value": "apache-directory-api",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.0~M20-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "apache-directory-api",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.0~M20-5",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.0.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "apache-directory-api",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.0-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "apache-directory-api",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.0-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "apache-directory-api",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1.2-1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "apache-directory-api",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1.2-2",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "apache-directory-api",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1.2-2build1",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "apache-directory-api",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1.2-2",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "2.1.2-2build1",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-35563",
      "aliases": [
        "UBUNTU-CVE-2026-35563"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "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_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "apache-directory-api",
            "purl": "pkg:deb/ubuntu/apache-directory-api?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.0.0~M20-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-35563.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libapache-directory-api-java",
                "binary_version": "1.0.0~M20-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "apache-directory-api",
            "purl": "pkg:deb/ubuntu/apache-directory-api?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.0.0~M20-5",
            "1.0.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-35563.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libapache-directory-api-java",
                "binary_version": "1.0.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "apache-directory-api",
            "purl": "pkg:deb/ubuntu/apache-directory-api?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.0.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-35563.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libapache-directory-api-java",
                "binary_version": "1.0.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "apache-directory-api",
            "purl": "pkg:deb/ubuntu/apache-directory-api?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.0.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-35563.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libapache-directory-api-java",
                "binary_version": "1.0.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "apache-directory-api",
            "purl": "pkg:deb/ubuntu/apache-directory-api?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "2.1.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-35563.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libapache-directory-api-java",
                "binary_version": "2.1.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "apache-directory-api",
            "purl": "pkg:deb/ubuntu/apache-directory-api?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "2.1.2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-35563.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libapache-directory-api-java",
                "binary_version": "2.1.2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "apache-directory-api",
            "purl": "pkg:deb/ubuntu/apache-directory-api?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.1.2-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-35563.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libapache-directory-api-java",
                "binary_version": "2.1.2-2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "apache-directory-api",
            "purl": "pkg:deb/ubuntu/apache-directory-api?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.1.2-2",
            "2.1.2-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-35563.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libapache-directory-api-java",
                "binary_version": "2.1.2-2build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:13.438068748Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-35563"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-35563",
        "https://www.cve.org/CVERecord?id=CVE-2026-35563",
        "https://www.openwall.com/lists/oss-security/2026/06/01/2"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-35563",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 358374,
  "published_at": "2026-06-01T08:16:00+00:00"
}