5.5

CVE-2025-61912: python-ldap Improper Encoding or Escaping of Output

CVSS: 5.5v4.0MediumAnalyzed
AliasesGHSA-p34h-wq7j-h5v6PYSEC-2026-1846UBUNTU-CVE-2025-61912
Published 10-10-2025Last modified 14-10-2025

Vulnerability summary

CVE-2025-61912 is a medium (CVSS 5.5) Improper Encoding or Escaping of Output vulnerability in python-ldap. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 38.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.46%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 6 · Related 8

Timeline

  1. 10-10-2025
    PublishedVulnerability first disclosed.
  2. 14-10-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

8 scores · 6 sources · 2 versions

EPSS trend

Probability

0.46%

Chance of exploitation in the next 30 days

Percentile

38%

Versus all other CVEs

30-day change

0.00 pp

From 0.46% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.46%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Python Ldap

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard1 product
  • awx< 24.6.1-r18
Debian1 product
  • python-ldap< 3.4.3-2+deb12u1 | < 3.4.4-1+deb13u1 | < 3.4.5-1
PyPI1 product
  • python-ldap< 3.4.5
Python-ldap1 product
Ubuntu1 product
  • python-ldap< 2.4.22-0.1ubuntu0.1~esm1 | < 3.0.0-1ubuntu0.2+esm1 | < 3.2.0-4ubuntu2.1+esm1 | < 3.2.0-4ubuntu7.2 | < 3.4.4-1ubuntu0.24.04.1 | < 3.4.4-1ubuntu0.25.10.1

5 vendors · 5 products

References

13 links
Show all 13 references