ADVISORIES

Red Hat VEX

RHVEX-CVE-2025-61911

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

Moderate No fix available CVE-2025-61911

Details

A sanitization bypass vulnerability has been discovered in python-ldap’s ldap.filter.escape_filter_chars method. When a crafted list or dict object is supplied as the assertion_value parameter with escape_mode=1, the method may skip escaping special characters. This can allow an attacker to inject unescaped special characters into LDAP filters, leading to possible LDAP injection attacks which could disclose or manipulate data.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10python3-ldap
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:6python-ldap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7python-ldap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:8python3-ldap
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:9python3-ldap
All versions, no fix (fix deferred)

References