Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-61912

published medium CVSS 4.0 · 5.5

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

Published
10 Oct 2025, 22:04:25 UTC
Updated
14 Oct 2025, 14:58:06 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
python-ldap — python-ldap< 3.4.5 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2-2025-3058 Fixed Not stated Amazon Linux assessment
Ubuntu bionic python-ldap Advisory build 3.0.0-1ubuntu0.2+esm1 USN-7828-1
Alpine Linux edge py3-ldap Fixed 3.4.5-r0 Package fix record
SUSE / openSUSE SLE-16 python313-ldapaarch64 Advisory build 3.4.4-160000.3.1 SUSE-SU-2026:20933-1
Amazon Linux AL2 python-ldapaarch64 Listed in advisory Not stated ALAS2-2025-3058
Ubuntu focal python-ldap Advisory build 3.2.0-4ubuntu2.1+esm1 USN-7828-1
Ubuntu jammy python-ldap Advisory build 3.2.0-4ubuntu7.2 USN-7828-1
Show 37 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu noble python-ldap Advisory build 3.4.4-1ubuntu0.24.04.1 USN-7828-1
Ubuntu questing python-ldap Advisory build 3.4.4-1ubuntu0.25.10.1 USN-7828-1
Ubuntu xenial python-ldap Advisory build 2.4.22-0.1ubuntu0.1~esm1 USN-7828-1
Alpine Linux v3.24 py3-ldap Fixed 3.4.5-r0 Package fix record
SUSE / openSUSE SLE-16 python313-ldapppc64le Advisory build 3.4.4-160000.3.1 SUSE-SU-2026:20933-1
SUSE / openSUSE SLE-16 python313-ldaps390x Advisory build 3.4.4-160000.3.1 SUSE-SU-2026:20933-1
SUSE / openSUSE SLE-16 python313-ldapx86_64 Advisory build 3.4.4-160000.3.1 SUSE-SU-2026:20933-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-ldapaarch64 Advisory build 3.4.4-160000.3.1 OPENSUSE-SU-2026:20421-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-ldapppc64le Advisory build 3.4.4-160000.3.1 OPENSUSE-SU-2026:20421-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-ldaps390x Advisory build 3.4.4-160000.3.1 OPENSUSE-SU-2026:20421-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-ldapx86_64 Advisory build 3.4.4-160000.3.1 OPENSUSE-SU-2026:20421-1
SUSE / openSUSE openSUSE-Tumbleweed python311-ldapaarch64 Advisory build 3.4.5-1.1 OPENSUSE-SU-2025:15637-1
SUSE / openSUSE openSUSE-Tumbleweed python311-ldapppc64le Advisory build 3.4.5-1.1 OPENSUSE-SU-2025:15637-1
SUSE / openSUSE openSUSE-Tumbleweed python311-ldaps390x Advisory build 3.4.5-1.1 OPENSUSE-SU-2025:15637-1
SUSE / openSUSE openSUSE-Tumbleweed python311-ldapx86_64 Advisory build 3.4.5-1.1 OPENSUSE-SU-2025:15637-1
SUSE / openSUSE openSUSE-Tumbleweed python312-ldapaarch64 Advisory build 3.4.5-1.1 OPENSUSE-SU-2025:15637-1
SUSE / openSUSE openSUSE-Tumbleweed python312-ldapppc64le Advisory build 3.4.5-1.1 OPENSUSE-SU-2025:15637-1
SUSE / openSUSE openSUSE-Tumbleweed python312-ldaps390x Advisory build 3.4.5-1.1 OPENSUSE-SU-2025:15637-1
SUSE / openSUSE openSUSE-Tumbleweed python312-ldapx86_64 Advisory build 3.4.5-1.1 OPENSUSE-SU-2025:15637-1
SUSE / openSUSE openSUSE-Tumbleweed python313-ldapaarch64 Advisory build 3.4.5-1.1 OPENSUSE-SU-2025:15637-1
SUSE / openSUSE openSUSE-Tumbleweed python313-ldapppc64le Advisory build 3.4.5-1.1 OPENSUSE-SU-2025:15637-1
SUSE / openSUSE openSUSE-Tumbleweed python313-ldaps390x Advisory build 3.4.5-1.1 OPENSUSE-SU-2025:15637-1
SUSE / openSUSE openSUSE-Tumbleweed python313-ldapx86_64 Advisory build 3.4.5-1.1 OPENSUSE-SU-2025:15637-1
Ubuntu bionic python-pyldap Advisory build 3.0.0-1ubuntu0.2+esm1 USN-7828-1
Ubuntu bionic python3-ldap Advisory build 3.0.0-1ubuntu0.2+esm1 USN-7828-1
Ubuntu bionic python3-pyldap Advisory build 3.0.0-1ubuntu0.2+esm1 USN-7828-1
Ubuntu focal python3-ldap Advisory build 3.2.0-4ubuntu2.1+esm1 USN-7828-1
Ubuntu focal python3-pyldap Advisory build 3.2.0-4ubuntu2.1+esm1 USN-7828-1
Ubuntu jammy python3-ldap Advisory build 3.2.0-4ubuntu7.2 USN-7828-1
Ubuntu jammy python3-pyldap Advisory build 3.2.0-4ubuntu7.2 USN-7828-1
Ubuntu noble python3-ldap Advisory build 3.4.4-1ubuntu0.24.04.1 USN-7828-1
Ubuntu noble python3-pyldap Advisory build 3.4.4-1ubuntu0.24.04.1 USN-7828-1
Ubuntu questing python3-ldap Advisory build 3.4.4-1ubuntu0.25.10.1 USN-7828-1
Ubuntu questing python3-pyldap Advisory build 3.4.4-1ubuntu0.25.10.1 USN-7828-1
Amazon Linux AL2 python-ldapi686 Listed in advisory Not stated ALAS2-2025-3058
Amazon Linux AL2 python-ldapsrc Listed in advisory Not stated ALAS2-2025-3058
Amazon Linux AL2 python-ldapx86_64 Listed in advisory Not stated ALAS2-2025-3058

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

12

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.5 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS: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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
python-ldap python-ldap < 3.4.5 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-116 CWE-116: Improper Encoding or Escaping of Output (GitHub_M · cna)
  • CWE-170 CWE-170: Improper Null Termination (GitHub_M · cna)

References

3

Provider assertions

2

GitHub_M · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
6a7deab82029471f68abbe2634beeca5a9db6de0c488ac04f29c5ecf4014cf3c
Ingested
23 Sep 2026, 08:55:13 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected