CVE-2026-18663

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

State
Published
Severity
5.9 Medium
Published
Aug 12, 2026
Updated
Aug 13, 2026
Reserved
Aug 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Hredhat

Weaknesses

Affected Products

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

                  References

                  Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.