Bug 2563919 (CVE-2026-119584)

Summary: CVE-2026-119584 389-ds-base: 389-ds-base: memory leaks in get_substring_filter() substring-filter parsing lead to unauthenticated remote denial of service
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: bsmejkal, jachapma, lryznaro, mreynolds, msauton, progier, rhel-process-autobot, security-response-team, snegrini, spichugi, tbordaz, vashirov, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A memory leak was found in 389 Directory Server (389-ds-base). When processing an LDAP SearchRequest whose SubstringFilter contains a duplicate initial component, a duplicate final component, or a substring component with an unrecognized tag, the server's filter parser fails to release the associated memory before rejecting the request. A remote attacker who can reach the LDAP service, without needing to authenticate, can repeatedly send such malformed requests to exhaust server memory, resulting in a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Deadline: 2026-11-30   

Description OSIDB Bzimport 2026-10-30 11:10:00 UTC
A flaw was found in 389-ds-base. The get_substring_filter() function in ldap/servers/slapd/filter.c, which parses the SubstringFilter component of an LDAP SearchRequest, fails to release a BER-decoded value before returning an LDAP_PROTOCOL_ERROR result in three cases: when a SubstringFilter contains a duplicate initial ([0]) component, a duplicate final ([2]) component, or a substring component with an unrecognized tag. In each case, the value that was just allocated to hold the decoded component is never attached to the filter object and is never freed, leaking memory for the lifetime of the server process.

Because filter parsing occurs before any access-control decision is made on the search itself, and because anonymous LDAP access is enabled by default, an unauthenticated remote client can repeatedly send a single malformed SearchRequest over one connection to leak memory on every request. Sustained exploitation can exhaust available memory on the server, resulting in degraded performance or a crash of the ns-slapd process and loss of directory service availability for all clients.

Comment 1 errata-xmlrpc 2026-12-01 02:17:38 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 11.7 E4S for RHEL 8

Via RHSA-2026:105338 https://access.redhat.com/errata/RHSA-2026:105338

Comment 2 errata-xmlrpc 2026-12-01 02:21:02 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 12.2 E4S for RHEL 9

Via RHSA-2026:105333 https://access.redhat.com/errata/RHSA-2026:105333

Comment 3 errata-xmlrpc 2026-12-01 02:21:02 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 12.2 E4S for RHEL 9

Via RHSA-2026:105333 https://access.redhat.com/errata/RHSA-2026:105333

Comment 4 errata-xmlrpc 2026-12-01 02:32:15 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 12.4 E4S for RHEL 9

Via RHSA-2026:105332 https://access.redhat.com/errata/RHSA-2026:105332

Comment 5 errata-xmlrpc 2026-12-01 02:34:00 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 11.5 E4S for RHEL 8

Via RHSA-2026:105331 https://access.redhat.com/errata/RHSA-2026:105331

Comment 6 errata-xmlrpc 2026-12-01 02:34:01 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 11.5 E4S for RHEL 8

Via RHSA-2026:105331 https://access.redhat.com/errata/RHSA-2026:105331

Comment 7 errata-xmlrpc 2026-12-01 02:35:34 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 11.9 for RHEL 8

Via RHSA-2026:105339 https://access.redhat.com/errata/RHSA-2026:105339

Comment 8 errata-xmlrpc 2026-12-01 02:43:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:105334 https://access.redhat.com/errata/RHSA-2026:105334

Comment 9 errata-xmlrpc 2026-12-01 02:43:44 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:105334 https://access.redhat.com/errata/RHSA-2026:105334

Comment 10 errata-xmlrpc 2026-12-01 03:02:32 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:105337 https://access.redhat.com/errata/RHSA-2026:105337

Comment 11 errata-xmlrpc 2026-12-01 03:07:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:105335 https://access.redhat.com/errata/RHSA-2026:105335

Comment 12 errata-xmlrpc 2026-12-01 03:11:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:105336 https://access.redhat.com/errata/RHSA-2026:105336

Comment 13 errata-xmlrpc 2026-12-01 03:11:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:105336 https://access.redhat.com/errata/RHSA-2026:105336

Comment 14 errata-xmlrpc 2026-12-01 03:14:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:105340 https://access.redhat.com/errata/RHSA-2026:105340

Comment 15 errata-xmlrpc 2026-12-01 03:14:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:105340 https://access.redhat.com/errata/RHSA-2026:105340

Comment 16 errata-xmlrpc 2026-12-01 03:23:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:105345 https://access.redhat.com/errata/RHSA-2026:105345

Comment 17 errata-xmlrpc 2026-12-01 03:25:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.2 Extended Update Support

Via RHSA-2026:105343 https://access.redhat.com/errata/RHSA-2026:105343

Comment 18 errata-xmlrpc 2026-12-01 03:48:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.8 Extended Update Support

Via RHSA-2026:105346 https://access.redhat.com/errata/RHSA-2026:105346

Comment 19 errata-xmlrpc 2026-12-01 04:09:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:105697 https://access.redhat.com/errata/RHSA-2026:105697

Comment 20 errata-xmlrpc 2026-12-01 04:09:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:105697 https://access.redhat.com/errata/RHSA-2026:105697

Comment 21 errata-xmlrpc 2026-12-01 04:12:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:105341 https://access.redhat.com/errata/RHSA-2026:105341

Comment 22 errata-xmlrpc 2026-12-01 04:12:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:105341 https://access.redhat.com/errata/RHSA-2026:105341

Comment 23 errata-xmlrpc 2026-12-01 04:32:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:105698 https://access.redhat.com/errata/RHSA-2026:105698