CVE-2025-61912: PYSEC-2026-1846 - python-ldap is Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination

CVE-2025-61912 · Severity: medium · CVSS 4 · Published 2026-07-07

python-ldap is Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination

Technologies: python-ldap (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2025-61912 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-61912 being exploited in the wild.
How severe is CVE-2025-61912?
Medium severity, with a CVSS score of 4, published 7 July 2026.
Which products and versions are affected?
python-ldap (PyPI) ECOSYSTEM:introduced=0,fixed=3.4.5.
Is there a fix for CVE-2025-61912?
Yes. python-ldap (PyPI): upgrade to 3.4.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-61912?
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.5 or later
    pip install "python-ldap>=3.4.5"

Affected products

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

Identifiers

  • CVE-2025-61912
  • GHSA-p34h-wq7j-h5v6
  • PYSEC-2026-1846

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.