CVE-2026-18663
Awaiting Analysis Awaiting Analysis - Queue

Double-Free in 389 Directory Server

Vulnerability report for CVE-2026-18663, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-12

Last updated on: 2026-08-13

Assigner: redhat-SADP

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-12
Last Modified
2026-08-13
Generated
2026-09-01
AI Q&A
2026-08-12
EPSS Evaluated
2026-08-31
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
redhat 389-ds-base From 3.0.0 (inc) to 4.0.0 (exc)
redhat 389-ds-base *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-415 The product calls free() twice on the same memory address.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a double-free issue in the 389-ds-base LDAP server. The get_ldapmessage_controls_ext() function frees parsed controls without clearing a specific slot, causing a second free during teardown. An unauthenticated attacker can trigger this by sending a BIND request with a critical Session Tracking control, leading to heap corruption and potential denial of service.

Detection Guidance

To detect this vulnerability, monitor your 389-ds-base LDAP server logs for crashes or heap corruption errors during LDAP BIND requests. Check for unusual Session Tracking control usage by examining logs for requests containing OID 1.3.6.1.4.1.21008.108.63.1. Use tools like tcpdump or Wireshark to capture LDAP traffic and filter for BIND requests with critical Session Tracking controls.

Impact Analysis

The impact is denial of service due to server crashes from heap corruption. Exploitation requires a specific unauthenticated request with a critical Session Tracking control. On some systems, crashes may be absorbed silently, but others may experience reliable server failures. No information disclosure or privilege escalation has been demonstrated.

Compliance Impact

This vulnerability does not directly impact compliance with GDPR or HIPAA as it does not involve unauthorized data access, disclosure, or processing violations. The issue is a denial-of-service condition caused by heap corruption, which may affect service availability but does not inherently violate data protection or privacy requirements.

Mitigation Strategies

Immediately restrict network access to LDAP ports (389/tcp, 636/tcp) using firewalls. Add the Session Tracking control OID 1.3.6.1.4.1.21008.108.63.1 to the ds-ignored-control-criticality configuration to ignore its criticality flag. Update 389-ds-base to version 3.2 or later where the fix is available.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-18663. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart