Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-18663 EUVD-2026-57153GHSA-m545-9vp4-qjrp

389-ds-base: 389-ds-base: pre-authentication double-free in get_ldapmessage_controls_ext() via critical session tracking control

Published Aug 12, 2026 · Updated Nov 5, 2026 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Directory Server 11 — —
Red Hat Red Hat Directory Server 12 — —
Red Hat Red Hat Directory Server 13 — —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 389-ds-base No fix yet —
Debian 12 389-ds-base No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 389-ds-base No fix yet —
Ubuntu 26.04 LTS 389-ds-base No fix yet —
Ubuntu 24.04 LTS 389-ds-base No fix yet —
Ubuntu 22.04 LTS 389-ds-base No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS 389-ds-base No fix yet —
Ubuntu Pro 18.04 LTS 389-ds-base No fix yet —
Ubuntu Pro 16.04 LTS 389-ds-base No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed 389-ds 3.3.1+8c2711bd6-1.1 openSUSE-SU-2026:11739-1

Advisories 1

References