Description
A flaw was found in 389 Directory Server. During schema reload, the attr_syntax_swap_ht() function unconditionally frees attribute syntax information nodes, bypassing the refcount-based deferred deletion used elsewhere in the attribute syntax subsystem. If an administrator triggers schema reload while concurrent LDAP query traffic is active, worker threads may access freed memory, resulting in use-after-free or double-free and a denial of service (server crash).
Published: 2026-06-18
Score: 5 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw resides in 389 Directory Server’s schema reload mechanism. Inside the attr_syntax_swap_ht() function, attribute syntax nodes are freed unconditionally, bypassing the reference‑counted safe‑deletion logic used elsewhere. When an administrator triggers a schema reload while LDAP clients are actively querying the server, worker threads may dereference the freed memory, yielding a use‑after‑free or double‑free. The immediate consequence is a server crash, leading to a denial of service. The weakness is a classic use‑after‑free (CWE‑416).

Affected Systems

Affected systems include Red Hat Directory Server releases 11, 12, and 13 on a variety of Red Hat Enterprise Linux platforms – RHEL 10, RHEL 6, RHEL 7, RHEL 8, and RHEL 9. Any installation that incorporates the 389 Directory Server component on these operating systems is potentially vulnerable to the crash described above.

Risk and Exploitability

The CVSS score of 5 indicates moderate severity and the issue is not listed in the CISA KEV catalog. EPSS data is unavailable, so the current exploitation likelihood cannot be quantified. Exploitation requires the ability to initiate a schema reload, typically granted to privileged administrators who have write rights to cn=schema,cn=config. If an attacker can trigger a reload while concurrent query traffic is active, they can force the directory service to restart. Therefore, the risk lies primarily in the availability of the LDAP service rather than confidentiality or integrity. The vulnerability is triggered by legitimate administrative operations and therefore the attack vector is likely local, or any entity with sufficient privilege to modify schema.

Generated by OpenCVE AI on June 18, 2026 at 17:50 UTC.

Remediation

Vendor Workaround

Schedule schema reload operations during maintenance windows with reduced LDAP traffic. Minimize schema reload frequency; in replication topologies schema changes propagate automatically. Monitor for unexpected ns-slapd restarts during or immediately after schema reloads. Restrict write access to cn=schema,cn=config to dedicated administrative accounts via LDAP ACIs.


OpenCVE Recommended Actions

  • Restrict write access to cn=schema,cn=config to dedicated administrative accounts via LDAP ACIs.
  • Schedule schema reload operations during maintenance windows with reduced LDAP traffic and minimize reload frequency.
  • Monitor for unexpected ns-slapd restarts during or immediately after schema reloads.

Generated by OpenCVE AI on June 18, 2026 at 17:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 18 Jun 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 18 Jun 2026 16:45:00 +0000

Type Values Removed Values Added
Description A flaw was found in 389 Directory Server. During schema reload, the attr_syntax_swap_ht() function unconditionally frees attribute syntax information nodes, bypassing the refcount-based deferred deletion used elsewhere in the attribute syntax subsystem. If an administrator triggers schema reload while concurrent LDAP query traffic is active, worker threads may access freed memory, resulting in use-after-free or double-free and a denial of service (server crash).
Title 389-ds-base: 389-ds-base: use-after-free in schema reload via attr_syntax_swap_ht()
First Time appeared Redhat
Redhat directory Server
Redhat enterprise Linux
Weaknesses CWE-416
CPEs cpe:/a:redhat:directory_server:11
cpe:/a:redhat:directory_server:12
cpe:/a:redhat:directory_server:13
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat directory Server
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H'}


Subscriptions

Redhat Directory Server Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-06-18T15:24:19.371Z

Reserved: 2026-06-09T13:01:16.818Z

Link: CVE-2026-11791

cve-icon Vulnrichment

Updated: 2026-06-18T15:24:15.461Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T18:00:11Z

Weaknesses