Skip to main content
EPSS 0.5%top 59%

CVE-2026-18663: Double Free in Red Hat Red Hat Directory Server 11

0
Medium
Published: 08/12/2026 (08/12/2026, 09:35:26 UTC)
Source: GCVE Database
Vendor/Project: Red Hat
Product: Red Hat Directory Server 11

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 v3.1

Score 5.9medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

redhat/389-ds-base
pkg:rpm/redhat/389-ds-base
Affected versions
>=3.0.0 <4.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 16:57:25 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-m545-9vp4-qjrp
Osv Schema Version
1.4.0
Aliases
["CVE-2026-18663"]
Database Specific Severity
MODERATE
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a7c9b47bf8831d539cdd373

Added to database: 08/12/2026, 16:11:51 UTC

Last enriched: 08/12/2026, 16:57:25 UTC

Last updated: 09/26/2026, 01:47:40 UTC

Views: 54

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses