<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-06T12:41:52.235690+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/brew-ansible-cve-2025-61912</id>
    <title>BREW-ansible-CVE-2025-61912 — python-ldap is Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination</title>
    <updated>2026-12-06T12:41:52.239251+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Homebrew: ansible</p>
<p>### Summary</p>
<p>`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.</p>
<p>### Details</p>
<p>Affected function: `ldap.dn.escape_dn_chars(s)`</p>
<p>File: Lib/ldap/dn.py</p>
<p>Buggy behavior:
For NUL, the function does:</p>
<p>`s = s.replace('\000', '\\\000')  # backslash + literal NUL`</p>
<p>This produces Python strings which, when passed to python-ldap APIs (e.g., `add_s`, `modify_s`, r`ename_s`, or used as search bases), contain an embedded NUL. python-ldap then raises ValueError: embedded null character (or otherwise fails) before any network I/O.
With correct RFC-4514 encoding (`\00`), the client proceeds and the server can apply its own syntax rules (e.g., AD will reject NUL in CN with result: 34), proving the failure originates in the escaping helper.</p>
<p>Why it matters: Projects follow the docs which state this function “should be used when building LDAP DN strings from arbitrary input.” The function’s guarantee is therefore relied upon as a safety API. A single NUL in attacker-controlled input reliably breaks client workflows (crash/unhandled exception, stuck retries, poison queue record), i.e., a DoS.</p>
<p>Standards: RFC 4514 requires special characters and controls to be escaped using hex form; a li…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/brew-ansible-cve-2025-61912"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2025-61912</id>
    <title>CVE-2025-61912 — python-ldap Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination</title>
    <updated>2026-12-06T12:41:52.239356+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> python-ldap</p>
<p>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.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2025-61912"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-p34h-wq7j-h5v6</id>
    <title>GHSA-p34h-wq7j-h5v6 — python-ldap is Vulnerable to Improper Encoding or Escaping of Output and Improper Null Termination</title>
    <updated>2026-12-06T12:41:52.239398+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: python-ldap</p>
<p>### Summary</p>
<p>`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.</p>
<p>### Details</p>
<p>Affected function: `ldap.dn.escape_dn_chars(s)`</p>
<p>File: Lib/ldap/dn.py</p>
<p>Buggy behavior:
For NUL, the function does:</p>
<p>`s = s.replace('\000', '\\\000')  # backslash + literal NUL`</p>
<p>This produces Python strings which, when passed to python-ldap APIs (e.g., `add_s`, `modify_s`, r`ename_s`, or used as search bases), contain an embedded NUL. python-ldap then raises ValueError: embedded null character (or otherwise fails) before any network I/O.
With correct RFC-4514 encoding (`\00`), the client proceeds and the server can apply its own syntax rules (e.g., AD will reject NUL in CN with result: 34), proving the failure originates in the escaping helper.</p>
<p>Why it matters: Projects follow the docs which state this function “should be used when building LDAP DN strings from arbitrary input.” The function’s guarantee is therefore relied upon as a safety API. A single NUL in attacker-controlled input reliably breaks client workflows (crash/unhandled exception, stuck retries, poison queue record), i.e., a DoS.</p>
<p>Standards: RFC 4514 requires special characters and controls to be escaped using hex form; a li…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-p34h-wq7j-h5v6"/>
  </entry>
</feed>
