Explore top 10 tips to secure your open-source projects now. Read More

×
Alerts This Week
Warning Icon 1 519
Alerts This Week
Warning Icon 1 519

Ubuntu 25.10: Python LDAP Important LDAP Injection Issues USN-7828-1

ubuntu
Calendar Grey October 20, 2025
Dist Ubuntu Esm H88
Several security fixes in Python LDAP for multiple Ubuntu releases enhance system integrity against attacks.
Several security issues were fixed in Python LDAP.

Summary

Several security issues were fixed in Python LDAP.

Software Description:

- python-ldap: LDAP interface module for Python

Details:

It was discovered that Python LDAP incorrectly handled special characters

in the special character filtering function. A remote attacker could

possibly use this issue to perform LDAP injection attacks.

(CVE-2025-61911)

Arad Inbar discovered that Python LDAP incorrectly escaped NUL character

bytes. An attacker could possibly use this issue to cause a denial of

service. (CVE-2025-61912)

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 25.10
  python3-ldap                    3.4.4-1ubuntu0.25.10.1

Ubuntu 25.04
  python3-ldap                    3.4.4-1ubuntu0.25.04.1

Ubuntu 24.04 LTS
  python3-ldap                    3.4.4-1ubuntu0.24.04.1

Ubuntu 22.04 LTS
  python3-ldap                    3.2.0-4ubuntu7.2

Ubuntu 20.04 LTS
  python3-ldap                    3.2.0-4ubuntu2.1+esm1
                                  Available with Ubuntu Pro

Ubuntu 18.04 LTS
  python-ldap                     3.0.0-1ubuntu0.2+esm1
                                  Available with Ubuntu Pro
  python3-ldap                    3.0.0-1ubuntu0.2+esm1
                                  Available with Ubuntu Pro

Ubuntu 16.04 LTS
  python-ldap                     2.4.22-0.1ubuntu0.1~esm1
                                  Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References

https://ubuntu.com/security/notices/USN-7828-1

CVE-2025-61911, CVE-2025-61912

Severity
important
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-7828-1

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.