Skip to content
OpenAdvisories
Medium openSUSE-SU-2026:20421-1 2 CVEs

Security update for python-ldap

Published Mar 25, 2026 · Updated Mar 29, 2026

Summary

This update for python-ldap fixes the following issues:

- CVE-2025-61911: Enforce str for escape_filter_chars (bsc#1251912).
- CVE-2025-61912: Escape NULs as per RFC 4514 in escape_dn_chars (bsc#1251913).

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 16.0 python-ldap 3.4.4-160000.3.1

Vulnerabilities 2

  • Medium 5.5

    python-ldap has sanitization bypass in ldap.filter.escape_filter_chars

    python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, the sanitization method `ldap.filter.escape_filter_chars` can be tricked to skip escaping of special characters when a crafted `list` or `dict` is…

  • Medium 5.5

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

    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. An…

References

  • report
    https://bugzilla.suse.com/1251912
  • report
    https://bugzilla.suse.com/1251913
  • web
    https://www.suse.com/security/cve/CVE-2025-61911
  • web
    https://www.suse.com/security/cve/CVE-2025-61912