CVE-2026-11791389-ds-base: 389-ds-base: use-after-free in schema reload via attr_syntax_swap_ht()
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).
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-11791 | |
| Ubuntu 26.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2026-11791 | |
| Ubuntu 25.10 | 389-ds-base | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-11791 | |
| Ubuntu 24.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2026-11791 | |
| Ubuntu 22.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2026-11791 | |
| Ubuntu 20.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-11791 | |
| Ubuntu 18.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-11791 | |
| Ubuntu 16.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-11791 | |
| Debian 13 | 389-ds-base | Fix pending | DEBIAN-CVE-2026-11791 | |
| Debian 12 | 389-ds-base | Fix pending | DEBIAN-CVE-2026-11791 | |
| Red Hat Enterprise Linux 10 | 389-ds-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-bdb | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | python3-lib389 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | 389-ds-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | python3-lib389 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | 389-ds-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-legacy-tools | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | cockpit-389-ds | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | python3-lib389 | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | 389-ds-base | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | 389-ds-base-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | 389-ds-base-libs | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | 389-ds-base-snmp | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | 389-ds-base | Not affected | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-libs | Not affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Directory Server 11
- Red Hat Directory Server 12
- Red Hat Directory Server 13
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
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.
References
- https://access.redhat.com/security/cve/CVE-2026-11791
- https://bugzilla.redhat.com/show_bug.cgi?id=2485414
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.