CVEfocus › CVE database › CVE-2026-18663

CVE-2026-18663389-ds-base: 389-ds-base: pre-authentication double-free in…

CVSS 5.9 MediumEPSS 0.5% (higher than 37% of CVEs)Published 2026-08-12Updated 2026-11-24Assigner: redhat

A flaw was found in 389-ds-base. The get_ldapmessage_controls_ext() function frees the parsed controls array on the Session Tracking critical-control rejection path without clearing the SLAPI_REQCONTROLS pblock slot. Operation teardown then frees the same pointer again, causing a double-free. An unauthenticated remote attacker can trigger this with a single BIND request carrying a critical Session Tracking control, resulting in heap corruption and potential denial of service.

CWE-415

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

12Fix pending
3Under investigation
19Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10389-ds-baseFix pendingUBUNTU-CVE-2026-18663
Ubuntu 26.04389-ds-baseUnder investigationUBUNTU-CVE-2026-18663
Ubuntu 24.04389-ds-baseUnder investigationUBUNTU-CVE-2026-18663
Ubuntu 22.04389-ds-baseUnder investigationUBUNTU-CVE-2026-18663
Ubuntu 20.04389-ds-baseFix pendingUBUNTU-CVE-2026-18663
Ubuntu 18.04389-ds-baseFix pendingUBUNTU-CVE-2026-18663
Ubuntu 16.04389-ds-baseFix pendingUBUNTU-CVE-2026-18663
Debian 13389-ds-baseFix pendingDEBIAN-CVE-2026-18663
Debian 12389-ds-baseFix pendingDEBIAN-CVE-2026-18663
Red Hat Enterprise Linux 10389-ds-baseFix pending
Fix deferred
Red Hat Enterprise Linux 10389-ds-base-bdbFix pending
Fix deferred
Red Hat Enterprise Linux 10389-ds-base-develFix pending
Fix deferred
Red Hat Enterprise Linux 10389-ds-base-libsFix pending
Fix deferred
Red Hat Enterprise Linux 10389-ds-base-snmpFix pending
Fix deferred
Red Hat Enterprise Linux 10python3-lib389Fix pending
Fix deferred
Red Hat Enterprise Linux 9389-ds-baseNot affected
Red Hat Enterprise Linux 9389-ds-base-develNot affected
Red Hat Enterprise Linux 9389-ds-base-libsNot affected
Red Hat Enterprise Linux 9389-ds-base-snmpNot affected
Red Hat Enterprise Linux 9python3-lib389Not affected
Red Hat Enterprise Linux 8389-ds-baseNot affected
Red Hat Enterprise Linux 8389-ds-base-develNot affected
Red Hat Enterprise Linux 8389-ds-base-legacy-toolsNot affected
Red Hat Enterprise Linux 8389-ds-base-libsNot affected
Red Hat Enterprise Linux 8389-ds-base-snmpNot affected
Red Hat Enterprise Linux 8cockpit-389-dsNot affected
Red Hat Enterprise Linux 8python3-lib389Not affected
Red Hat Enterprise Linux 7389-ds-baseNot affected
Red Hat Enterprise Linux 7389-ds-base-develNot affected
Red Hat Enterprise Linux 7389-ds-base-libsNot affected
Red Hat Enterprise Linux 7389-ds-base-snmpNot affected
Red Hat Enterprise Linux 6389-ds-baseNot affected
Red Hat Enterprise Linux 6389-ds-base-develNot affected
Red Hat Enterprise Linux 6389-ds-base-libsNot 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.

Workaround: On builds that include upstream Issue 7389 (committed 2026-04-09, present in 389-ds-base-3.2 branch), administrators can add the Session Tracking control OID (1.3.6.1.4.1.21008.108.63.1) to the ds-ignored-control-criticality configuration attribute. This causes the server to ignore the criticality flag on this control, preventing the vulnerable rejection path from being reached. Additionally, network-level restriction of access to the LDAP port (389/636) to trusted clients reduces exposure.

References

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.