UBUNTU-CVE-2025-61912

Source
https://ubuntu.com/security/CVE-2025-61912
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61912.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-61912
Upstream
Downstream
Related
Published
2025-10-10T22:15:00Z
Modified
2026-02-01T04:29:29.676400Z
Severity
  • 5.5 (Medium) CVSS_V4 - 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 CVSS Calculator
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

python-ldap is a lightweight directory access protocol (LDAP) client API for Python. In versions prior to 3.4.5, ldap.dn.escapednchars() 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.

References

Affected packages

Ubuntu:22.04:LTS
python-ldap

Package

Name
python-ldap
Purl
pkg:deb/ubuntu/python-ldap@3.2.0-4ubuntu7.2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.0-4ubuntu7.2

Affected versions

3.*
3.2.0-4ubuntu5
3.2.0-4ubuntu6
3.2.0-4ubuntu7
3.2.0-4ubuntu7.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "python3-ldap",
            "binary_version": "3.2.0-4ubuntu7.2"
        },
        {
            "binary_name": "python3-pyldap",
            "binary_version": "3.2.0-4ubuntu7.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61912.json"
Ubuntu:24.04:LTS
python-ldap

Package

Name
python-ldap
Purl
pkg:deb/ubuntu/python-ldap@3.4.4-1ubuntu0.24.04.1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.4-1ubuntu0.24.04.1

Affected versions

3.*
3.4.3-2build2
3.4.3-2build3
3.4.3-2ubuntu1
3.4.4-1
3.4.4-1build1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "python3-ldap",
            "binary_version": "3.4.4-1ubuntu0.24.04.1"
        },
        {
            "binary_name": "python3-pyldap",
            "binary_version": "3.4.4-1ubuntu0.24.04.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61912.json"
Ubuntu:25.10
python-ldap

Package

Name
python-ldap
Purl
pkg:deb/ubuntu/python-ldap@3.4.4-1ubuntu0.25.10.1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.4-1ubuntu0.25.10.1

Affected versions

3.*
3.4.4-1build3

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "python3-ldap",
            "binary_version": "3.4.4-1ubuntu0.25.10.1"
        },
        {
            "binary_name": "python3-pyldap",
            "binary_version": "3.4.4-1ubuntu0.25.10.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61912.json"
Ubuntu:Pro:16.04:LTS
python-ldap

Package

Name
python-ldap
Purl
pkg:deb/ubuntu/python-ldap@2.4.22-0.1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.22-0.1ubuntu0.1~esm1

Affected versions

2.*
2.4.20-0.1
2.4.22-0.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python-ldap",
            "binary_version": "2.4.22-0.1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61912.json"
Ubuntu:Pro:18.04:LTS
python-ldap

Package

Name
python-ldap
Purl
pkg:deb/ubuntu/python-ldap@3.0.0-1ubuntu0.2+esm1?arch=source&distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.0-1ubuntu0.2+esm1

Affected versions

2.*
2.4.41-1
2.5.2-1
3.*
3.0.0~b4-1
3.0.0-1
3.0.0-1ubuntu0.1
3.0.0-1ubuntu0.2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python-ldap",
            "binary_version": "3.0.0-1ubuntu0.2+esm1"
        },
        {
            "binary_name": "python-pyldap",
            "binary_version": "3.0.0-1ubuntu0.2+esm1"
        },
        {
            "binary_name": "python3-ldap",
            "binary_version": "3.0.0-1ubuntu0.2+esm1"
        },
        {
            "binary_name": "python3-pyldap",
            "binary_version": "3.0.0-1ubuntu0.2+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61912.json"
Ubuntu:Pro:20.04:LTS
python-ldap

Package

Name
python-ldap
Purl
pkg:deb/ubuntu/python-ldap@3.2.0-4ubuntu2.1+esm1?arch=source&distro=esm-infra/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.2.0-4ubuntu2.1+esm1

Affected versions

3.*
3.1.0-2build1
3.1.0-2build2
3.2.0-3
3.2.0-3ubuntu1
3.2.0-3ubuntu2
3.2.0-3ubuntu3
3.2.0-4ubuntu2
3.2.0-4ubuntu2.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "python3-ldap",
            "binary_version": "3.2.0-4ubuntu2.1+esm1"
        },
        {
            "binary_name": "python3-pyldap",
            "binary_version": "3.2.0-4ubuntu2.1+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-61912.json"