CVE-2025-61912

    Dashboard / Vulnerabilities / CVE-2025-61912

    CVE-2025-61912

    Published: 10 Oct 2025Last Modified: 12 Aug 2026

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

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    python-ldap-3.4.4
    python-ldap-3.4.3
    python-ldap-3.4.2
    python-ldap-3.4.1
    python-ldap-3.4.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2025-61912 | CVE-DB