Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.5CVE-2026-119584

389 Directory Server: memory leak in LDAP filter parsing enables unauthenticated DoS

Published 03/12/2026 · Updated 04/12/2026 · Red Hat Directory Server 11.5 E4S for RHEL 8

Summary

A memory leak was found in 389 Directory Server (389-ds-base) in the LDAP filter parser (get_substring_filter()). When an LDAP SearchRequest contains a SubstringFilter with a duplicate initial or final component, or a component with an unrecognized tag, the server rejects the request but fails to release the associated memory.

Per the CVSS vector (7.5, high), the attack is network-based, low complexity, and requires no authentication or user interaction. An attacker who can reach the LDAP service can repeatedly send such malformed requests to exhaust server memory.

The result is denial of service (loss of availability); confidentiality and integrity are not directly affected. The vulnerability is not listed in the CISA KEV catalog.

Who is affected

Organizations running Red Hat Directory Server 11.x/12.x or 389-ds-base on RHEL 8, 9 and 10 (including EUS, E4S and AUS streams), especially where the LDAP service is reachable from untrusted networks.

What to do

  1. Apply the fixes from Red Hat security advisories (RHSA-2026:105331 through RHSA-2026:105340) for your release; fixed package versions are not listed in the record, so check the vendor's official advisory.
  2. Workaround: restrict anonymous LDAP access by setting nsslapd-allow-anonymous-access to "off" or "rootdse", preventing unauthenticated clients from reaching the vulnerable code path.
  3. Before applying this change, evaluate the impact on legitimate clients and applications relying on anonymous binds or searches.
  4. Check exposure: inventory systems running 389-ds-base and firewall LDAP/LDAPS ports so only trusted networks can reach them.
  5. Monitor ns-slapd memory usage to detect exhaustion attempts early.

Vendor workaround

Restricting anonymous LDAP access (for example, setting nsslapd-allow-anonymous-access to "off" or "rootdse") prevents unauthenticated clients from reaching the vulnerable code path. This is a configuration change that affects any legitimate clients relying on anonymous binds or searches, and its impact should be evaluated before being applied in a given environment.

Original text from the vendor's CVE record.

Affected products and versions

Red Hat Red Hat Directory Server 11.5 E4S for RHEL 8
Red Hat Red Hat Directory Server 11.7 E4S for RHEL 8
Red Hat Red Hat Directory Server 11.9 for RHEL 8
Red Hat Red Hat Directory Server 12.2 E4S for RHEL 9
Red Hat Red Hat Directory Server 12.4 E4S for RHEL 9
Red Hat Red Hat Enterprise Linux 10
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support
Red Hat Red Hat Enterprise Linux 10.2 Extended Update Support
Red Hat Red Hat Enterprise Linux 8
Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
None
Integrity
None
Availability
High impact

Weakness type (CWE)

  • CWE-401 Missing Release of Memory after Effective Lifetime

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.