CVE catalog

CVE-2025-61912

Python LDAP vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 5.5CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.46% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpython-ldapsid3.4.8-1fixed
Debianpython-ldapforky3.4.8-1fixed
Debianpython-ldaptrixie3.4.4-1+deb13u1fixed
Debianpython-ldapbookworm3.4.3-2+deb12u1fixed
Ubuntupython-ldapnobleNot reportedvulnerable
Ubuntupython-ldapnoble3.4.4-1ubuntu0.24.04.1fixed
Ubuntupython-ldap-docnoble3.4.4-1ubuntu0.24.04.1fixed
Ubuntupython3-ldapnoble3.4.4-1ubuntu0.24.04.1fixed
Ubuntupython3-pyldapnoble3.4.4-1ubuntu0.24.04.1fixed
Cpepython-ldapNot reported3.4.5fixed
Ubuntupython-ldappro3.1.0-2build1vulnerable
Ubuntupython-ldappro3.1.0-2build2vulnerable
Ubuntupython-ldappro3.2.0-3vulnerable
Ubuntupython-ldappro3.2.0-3ubuntu1vulnerable
Ubuntupython-ldappro3.2.0-3ubuntu2vulnerable
Ubuntupython-ldappro3.2.0-3ubuntu3vulnerable
Ubuntupython-ldappro3.2.0-4ubuntu2vulnerable
Ubuntupython-ldappro3.2.0-4ubuntu2.1vulnerable
Ubuntupython-ldappro3.2.0-4ubuntu2.1+esm1fixed
Ubuntupython-ldap22.043.2.0-4ubuntu5vulnerable
Ubuntupython-ldap22.043.2.0-4ubuntu6vulnerable
Ubuntupython-ldap22.043.2.0-4ubuntu7vulnerable
Ubuntupython-ldap22.043.2.0-4ubuntu7.1vulnerable
Ubuntupython-ldap22.043.2.0-4ubuntu7.2fixed
Ubuntupython-ldap24.043.4.3-2build2vulnerable
Ubuntupython-ldap24.043.4.3-2build3vulnerable
Ubuntupython-ldap24.043.4.3-2ubuntu1vulnerable
Ubuntupython-ldap24.043.4.4-1vulnerable
Ubuntupython-ldap24.043.4.4-1build1vulnerable
Ubuntupython-ldap24.043.4.4-1ubuntu0.24.04.1fixed
Ubuntupython-ldap25.103.4.4-1build3vulnerable
Ubuntupython-ldap25.103.4.4-1ubuntu0.25.10.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-ldapsourcesid3.4.5-1not yet assignedNot reported[1117859]
Debianpython-ldapsourceforky3.4.5-1not yet assignedNot reported[1117859]
Debianpython-ldapsourcetrixie3.4.4-1+deb13u1not yet assignedNot reported[1117859]
Debianpython-ldapsourcebookworm3.4.3-2+deb12u1not yet assignedNot reported[1117859]
Ubuntupython-ldapdebnoble3.4.4-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntupython-ldap-docdebnoble3.4.4-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntupython3-ldapdebnoble3.4.4-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntupython3-pyldapdebnoble3.4.4-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Cpepython-ldapcpeNot reported3.4.5Not reportedNVD-CVE-2025-61912Not reported
Ubuntupython-ldapdebpro3.2.0-4ubuntu2.1+esm1Not reportedUBUNTU-CVE-2025-61912Not reported
Ubuntupython-ldapdeb22.043.2.0-4ubuntu7.2Not reportedUBUNTU-CVE-2025-61912Not reported
Ubuntupython-ldapdeb24.043.4.4-1ubuntu0.24.04.1Not reportedUBUNTU-CVE-2025-61912Not reported
Ubuntupython-ldapdeb25.103.4.4-1ubuntu0.25.10.1Not reportedUBUNTU-CVE-2025-61912Not reported

[Debian bug #1117859]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [python-ldap]

    Details (2)
    • 3.4.3-2+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.4.3-2+deb12u1

      usn · python-ldap · debian · bookworm; usn · python-ldap · debian · 12

    • 3.4.3-2+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.4.3-2+deb12u1

      usn · python-ldap · debian · bookworm; usn · python-ldap · debian · 12

  • Source package: [python-ldap]

    Details (2)
    • 3.4.3-2+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.4.3-2+deb12u1

      usn · python-ldap · debian · bookworm; usn · python-ldap · debian · 12

    • 3.4.3-2+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.4.3-2+deb12u1

      usn · python-ldap · debian · bookworm; usn · python-ldap · debian · 12

  • Source package: [python-ldap]

    Details (2)
    • 3.4.3-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.4.3-2+deb12u1

      usn · python-ldap · debian · bookworm; usn · python-ldap · debian · 12

    • 3.4.3-2+deb12u1 · all · bookworm

      Fixed · Fixed: 3.4.3-2+deb12u1

      usn · python-ldap · debian · bookworm; usn · python-ldap · debian · 12

[Debian 13 (Trixie)]

  • Source package: [python-ldap]

    Details (2)
    • 3.4.4-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.4.4-1+deb13u1

      usn · python-ldap · debian · 13

    • 3.4.4-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.4.4-1+deb13u1

      usn · python-ldap · debian · 13

  • Source package: [python-ldap]

    Details (2)
    • 3.4.4-1+deb13u1 · amd64 · trixie

      Fixed · Fixed: 3.4.4-1+deb13u1

      usn · python-ldap · debian · 13

    • 3.4.4-1+deb13u1 · arm64 · trixie

      Fixed · Fixed: 3.4.4-1+deb13u1

      usn · python-ldap · debian · 13

  • Source package: [python-ldap]

    Details (2)
    • 3.4.4-1+deb13u1 · all · trixie

      Fixed · Fixed: 3.4.4-1+deb13u1

      usn · python-ldap · debian · 13

    • 3.4.4-1+deb13u1 · all · trixie

      Fixed · Fixed: 3.4.4-1+deb13u1

      usn · python-ldap · debian · 13

Observed:

References