A flaw was found in 389-ds-base. (CVE-2026-18663)
A double-free vulnerability exists in 389-ds-base 3.x in the get_ldapmessage_controls_ext() function when handling a critical Session Tracking control during an unauthenticated BIND request. This can cause heap corruption and potentially lead to denial of service. The issue primarily affects builds using the glibc allocator; Red Hat Enterprise Linux 10 and RHDS 13 use jemalloc, which mitigates crashing. No information disclosure or privilege escalation has been demonstrated. Mitigations include ignoring the criticality of the Session Tracking control and restricting network access to LDAP ports.
AI Analysis
Technical Summary
CVE-2026-18663 is a double-free vulnerability in 389-ds-base version 3.x. The flaw occurs in the get_ldapmessage_controls_ext() function where the parsed controls array is freed on the Session Tracking critical-control rejection path without clearing the SLAPI_REQCONTROLS pblock slot. This leads to a second free during operation teardown, causing heap corruption. An unauthenticated remote attacker can trigger this by sending a single BIND request with a critical Session Tracking control. The vulnerability results in denial of service due to heap corruption but does not lead to information disclosure or privilege escalation. Red Hat's builds using jemalloc absorb the double-free without crashing, limiting impact. Upstream builds using glibc are vulnerable to reliable denial of service. Mitigations include configuring the server to ignore the criticality of the Session Tracking control and restricting LDAP port access.
Potential Impact
The vulnerability allows an unauthenticated remote attacker to cause heap corruption and potential denial of service by sending a specially crafted BIND request with a critical Session Tracking control. On Red Hat Enterprise Linux 10 and RHDS 13, which use jemalloc, the double-free does not cause a crash, limiting impact to heap corruption without service interruption. On upstream or Fedora builds using glibc, reliable denial of service is possible. There is no evidence of information disclosure or privilege escalation.
Mitigation Recommendations
Red Hat advises adding the Session Tracking control OID (1.3.6.1.4.1.21008.108.63.1) to the ds-ignored-control-criticality configuration attribute to ignore the criticality flag and prevent the vulnerable code path. Additionally, restricting network access to LDAP ports (389/636) to trusted clients reduces exposure. No official patch is currently available; patch status is not yet confirmed — check the vendor advisory for updates.
A flaw was found in 389-ds-base. (CVE-2026-18663)
Description
A double-free vulnerability exists in 389-ds-base 3.x in the get_ldapmessage_controls_ext() function when handling a critical Session Tracking control during an unauthenticated BIND request. This can cause heap corruption and potentially lead to denial of service. The issue primarily affects builds using the glibc allocator; Red Hat Enterprise Linux 10 and RHDS 13 use jemalloc, which mitigates crashing. No information disclosure or privilege escalation has been demonstrated. Mitigations include ignoring the criticality of the Session Tracking control and restricting network access to LDAP ports.
CVSS v3.1
Score 5.9medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-18663 is a double-free vulnerability in 389-ds-base version 3.x. The flaw occurs in the get_ldapmessage_controls_ext() function where the parsed controls array is freed on the Session Tracking critical-control rejection path without clearing the SLAPI_REQCONTROLS pblock slot. This leads to a second free during operation teardown, causing heap corruption. An unauthenticated remote attacker can trigger this by sending a single BIND request with a critical Session Tracking control. The vulnerability results in denial of service due to heap corruption but does not lead to information disclosure or privilege escalation. Red Hat's builds using jemalloc absorb the double-free without crashing, limiting impact. Upstream builds using glibc are vulnerable to reliable denial of service. Mitigations include configuring the server to ignore the criticality of the Session Tracking control and restricting LDAP port access.
Potential Impact
The vulnerability allows an unauthenticated remote attacker to cause heap corruption and potential denial of service by sending a specially crafted BIND request with a critical Session Tracking control. On Red Hat Enterprise Linux 10 and RHDS 13, which use jemalloc, the double-free does not cause a crash, limiting impact to heap corruption without service interruption. On upstream or Fedora builds using glibc, reliable denial of service is possible. There is no evidence of information disclosure or privilege escalation.
Mitigation Recommendations
Red Hat advises adding the Session Tracking control OID (1.3.6.1.4.1.21008.108.63.1) to the ds-ignored-control-criticality configuration attribute to ignore the criticality flag and prevent the vulnerable code path. Additionally, restricting network access to LDAP ports (389/636) to trusted clients reduces exposure. No official patch is currently available; patch status is not yet confirmed — check the vendor advisory for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-m545-9vp4-qjrp
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-18663"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a7c9b47bf8831d539cdd373
Added to database: 08/12/2026, 16:11:51 UTC
Last enriched: 08/12/2026, 16:57:25 UTC
Last updated: 08/13/2026, 03:41:00 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.