ADVISORIES

Vulnerability

CVE-2021-46823

python-ldap before 3.4.0 is vulnerable to a denial of service when ldap.schema is used for untrusted schema definitions, because of a regular expression denial of service (ReDoS) flaw in the LDAP schema parser. By sending crafted regex input, a remote authenticated attacker could exploit this vulnerability to cause a denial of service condition.

11 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • ALAS2-2024-2406

    Amazon Linux 2 2017.12 - ALAS2-2024-2406: medium priority package update for python-ldap

    Medium CVE-2021-46823 Amazon Linux Updated 9 January 2024
  • AZL-9960

    CVE-2021-46823 affecting package python-ldap for versions less than 3.4.0-1

    CVE-2021-46823 Azure Linux Updated 21 April 2026
  • DEBIAN-CVE-2021-46823

    python-ldap before 3.4.0 is vulnerable to a denial of service when ldap.schema is used for untrusted schema definitions, because of a regular expression denial of service (ReDoS) flaw in the LDAP schema parser. By…

    CVE-2021-46823 Debian Updated 23 October 2026
  • GHSA-qfr5-wjpw-q4c4

    Denial of Service in python-ldap

    Moderate CVE-2021-46823 PyPI Updated 8 July 2026
  • GHSA-r8wq-qrxc-hmcm

    ReDoS in LDAP schema parser

    Moderate CVE-2021-46823 PyPI Updated 8 July 2026
  • OESA-2022-1792

    python-ldap security update

    Medium CVE-2021-46823 openEuler Updated 18 August 2026
  • OESA-2022-1809

    python-ldap security update

    Medium CVE-2021-46823 openEuler Updated 18 August 2026
  • PYSEC-2026-912

    Denial of Service in python-ldap

    CVE-2021-46823 PyPI Updated 8 July 2026
  • RHVEX-CVE-2021-46823

    python-ldap: Regular expression denial of service in LDAP schema parser

    Moderate CVE-2021-46823 Red Hat Updated 23 November 2026
  • UBUNTU-CVE-2021-46823

    python-ldap before 3.4.0 is vulnerable to a denial of service when ldap.schema is used for untrusted schema definitions, because of a regular expression denial of service (ReDoS) flaw in the LDAP schema parser. By…

    CVE-2021-46823 Ubuntu Updated 4 February 2026
  • USN-5508-1

    python-ldap vulnerability

    CVE-2021-46823 Ubuntu Updated 10 February 2026

References