# CVE-2021-46823: PYSEC-2026-912 - Denial of Service in python-ldap

Source: https://junglewise.ai/threats/cve-2021-46823-denial-of-service-in-python-ldap  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-06  
License: CC BY 4.0 with a link back

CVE-2021-46823 · Severity: low · CVSS 3.1 · Published 2026-07-06

Denial of Service in python-ldap

Technologies: [python-ldap (PyPI)](https://junglewise.ai/threats/technologies/python-ldap). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2021-46823 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-46823 being exploited in the wild.

**How severe is CVE-2021-46823?** Low severity, with a CVSS score of 3.1, published 6 July 2026.

**Which products and versions are affected?** python-ldap (PyPI) ECOSYSTEM:introduced=0,fixed=3.4.0.

**Is there a fix for CVE-2021-46823?** Yes. python-ldap (PyPI): upgrade to 3.4.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-46823?** Check whether you run python-ldap (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- python-ldap (PyPI): upgrade to 3.4.0 or later

  ```sh
  pip install "python-ldap>=3.4.0"
  ```


## Affected products

- python-ldap (PyPI) ECOSYSTEM:introduced=0,fixed=3.4.0

## Identifiers

- CVE-2021-46823
- GHSA-qfr5-wjpw-q4c4
- GHSA-r8wq-qrxc-hmcm
- PYSEC-2026-912

## Related threats

- [PYSEC-2026-1846 - python-ldap is Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination](https://junglewise.ai/threats/cve-2025-61912-python-ldap-is-vulnerable-to-improper-encoding-or-escaping-of)
- [PYSEC-2026-1847 - python-ldap has sanitization bypass in ldap.filter.escape_filter_chars](https://junglewise.ai/threats/cve-2025-61911-python-ldap-has-sanitization-bypass-in-ldap-filter-escape-filter)
