ADVISORIES

Vulnerability

CVE-2025-61912

python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, ldap.dn.escape_dn_chars() escapes \x00 incorrectly by emitting a backslash followed by a literal NUL byte instead of the RFC-4514 hex form \00. Any application that uses this helper to construct DNs from untrusted input can be made to consistently fail before a request is sent to the LDAP server (e.g., AD), resulting in a client-side denial of service. Version 3.4.5 contains a patch for the issue.

25 advisories report this vulnerability, across 11 ecosystems.

Advisories

  • ALAS2-2025-3058

    Amazon Linux 2 2017.12 - ALAS2-2025-3058: medium priority package update for python-ldap

    Medium CVE-2025-61912 Amazon Linux Updated 10 November 2025
  • ALPINE-CVE-2025-61912

    python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, ldap.dn.escape_dn_chars() escapes \x00 incorrectly by emitting a backslash followed by a literal NUL byte…

    CVE-2025-61912 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2025-61912
    CVE-2025-61912 Alpine Updated 18 November 2026
  • AZL-68433

    CVE-2025-61912 affecting package python-ldap 3.4.4-1

    CVE-2025-61912 Azure Linux Updated 24 November 2026
  • AZL-68454

    CVE-2025-61912 affecting package python-ldap 3.4.0-1

    CVE-2025-61912 Azure Linux Updated 21 April 2026
  • CGA-c5x3-vm54-6f4c
    CVE-2025-61912 Chainguard Updated 5 November 2026
  • CGA-x45r-rv8x-rc58
    CVE-2025-61912 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2025-61912

    python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, ldap.dn.escape_dn_chars() escapes \x00 incorrectly by emitting a backslash followed by a literal NUL byte…

    CVE-2025-61912 Debian Updated 23 October 2026
  • GHSA-p34h-wq7j-h5v6

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

    Moderate CVE-2025-61912 PyPI Updated 10 September 2026
  • OESA-2025-2681

    python-ldap security update

    Medium CVE-2025-61911CVE-2025-61912 openEuler Updated 18 August 2026
  • OESA-2025-2682

    python-ldap security update

    Medium CVE-2025-61911CVE-2025-61912 openEuler Updated 18 August 2026
  • OESA-2025-2684

    python-ldap security update

    Medium CVE-2025-61911CVE-2025-61912 openEuler Updated 18 August 2026
  • OESA-2025-2685

    python-ldap security update

    Medium CVE-2025-61911CVE-2025-61912 openEuler Updated 18 August 2026
  • OESA-2025-2686

    python-ldap security update

    Medium CVE-2025-61911CVE-2025-61912 openEuler Updated 18 August 2026
  • OESA-2026-1248

    python-ldap security update

    Medium CVE-2025-61912 openEuler Updated 18 August 2026
  • PYSEC-2026-1846

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

    CVE-2025-61912 PyPI Updated 7 July 2026
  • RHVEX-CVE-2025-61912

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

    Moderate CVE-2025-61912 Red Hat Updated 5 November 2026
  • SUSE-SU-2025:3695-1

    Security update for python-ldap

    CVE-2025-61911CVE-2025-61912 SUSE Updated 4 February 2026
  • SUSE-SU-2025:3714-1

    Security update for python-ldap

    CVE-2025-61911CVE-2025-61912 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2026:20933-1

    Security update for python-ldap

    CVE-2025-61911CVE-2025-61912 SUSE Updated 2 April 2026
  • SUSEVEX-CVE-2025-61912

    python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, ldap.dn.escape_dn_chars() escapes \x00 incorrectly by emitting a backslash followed by a literal NUL byte…

    Moderate CVE-2025-61912 SUSE Updated 16 October 2026
  • UBUNTU-CVE-2025-61912

    python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, ldap.dn.escape_dn_chars() escapes \x00 incorrectly by emitting a backslash followed by a literal NUL byte…

    CVE-2025-61912 Ubuntu Updated 24 November 2026
  • USN-7828-1

    python-ldap vulnerabilities

    CVE-2025-61911CVE-2025-61912 Ubuntu Updated 24 November 2026
  • openSUSE-SU-2025:15637-1

    python311-ldap-3.4.5-1.1 on GA media

    CVE-2025-61911CVE-2025-61912 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:20421-1

    Security update for python-ldap

    CVE-2025-61911CVE-2025-61912 openSUSE Updated 29 March 2026

References