Advisory

UBUNTU-CVE-2025-61912

Also known as: CVE-2025-61912

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2025-10-10 22:15 UTC
Modified
2026-02-04 17:01 UTC

Affected packages and fixes

python-ldap

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.2.0-4ubuntu7.2 (ecosystem)

Fixed versions

3.2.0-4ubuntu7.2

Fix

  • Fixed version 3.2.0-4ubuntu7.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-ldap

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.4.4-1ubuntu0.24.04.1 (ecosystem)

Fixed versions

3.4.4-1ubuntu0.24.04.1

Fix

  • Fixed version 3.4.4-1ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-ldap

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 3.4.4-1ubuntu0.25.10.1 (ecosystem)

Fixed versions

3.4.4-1ubuntu0.25.10.1

Fix

  • Fixed version 3.4.4-1ubuntu0.25.10.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences