A heap buffer overflow flaw was found in the SASL I/O layer of 389 Directory Server (389-ds-base). After a successful SASL bind with integrity protection (SSF > 0), an authenticated attacker can send a specially crafted oversized LDAP UNBIND packet that is copied into a 512-byte heap receive buffer without a bounds check in sasl_io_recv() in sasl_io.c. This allows up to approximately 2 megabytes of attacker-controlled data to overflow the buffer, causing a denial of service (server crash). In FreeIPA and Red Hat Identity Management deployments, any domain user with a valid Kerberos ticket, any enrolled host, or any service account can trigger this vulnerability over the network after authenticating via GSSAPI. The vulnerable code path has existed since approximately 2013 (389-ds-base 1.3.2) and was not addressed by the CVE-2025-14905 fix, which patched a separate heap overflow in schema.c only.
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Directory Server 11.5 E4S for RHEL 8 | RedHat | redhat-ds:11-8060020260702180044.0ca98e7e | * |
| Red Hat Directory Server 11.7 E4S for RHEL 8 | RedHat | redhat-ds:11-8080020260702180836.f969626e | * |
| Red Hat Directory Server 11.9 for RHEL 8 | RedHat | redhat-ds:11-8100020260702145313.37ed7c03 | * |
| Red Hat Directory Server 12.2 E4S for RHEL 9 | RedHat | redhat-ds:12-9020020260703060155.1674d574 | * |
| Red Hat Directory Server 12.4 E4S for RHEL 9 | RedHat | redhat-ds:12-9040020260703055735.1674d574 | * |
| Red Hat Enterprise Linux 10 | RedHat | 389-ds-base-0:3.2.0-8.el10_2 | * |
| Red Hat Enterprise Linux 10.0 Extended Update Support | RedHat | 389-ds-base-0:3.0.6-19.el10_0 | * |
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | RedHat | 389-ds-base-0:1.3.11.1-13.el7_9 | * |
| Red Hat Enterprise Linux 8 | RedHat | 389-ds:1.4-8100020260626120929.25e700aa | * |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | RedHat | 389-ds:1.4-8040020260629123121.96015a92 | * |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | RedHat | 389-ds:1.4-8040020260629123121.96015a92 | * |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | RedHat | 389-ds:1.4-8060020260626130540.824efc52 | * |
| Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | RedHat | 389-ds:1.4-8060020260626130540.824efc52 | * |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | RedHat | 389-ds:1.4-8080020260630025241.6dbb3803 | * |
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | RedHat | 389-ds:1.4-8080020260630025241.6dbb3803 | * |
| Red Hat Enterprise Linux 9 | RedHat | 389-ds-base-0:2.8.0-8.el9_8 | * |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | RedHat | 389-ds-base-0:2.2.4-19.el9_2 | * |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | RedHat | 389-ds-base-0:2.4.5-26.el9_4 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | 389-ds-base-0:2.6.1-22.el9_6 | * |
| Red Hat Directory Server 13.2 | RedHat | dirsrv/dirsrv-container-rhel10:1783452100 | * |
| 389-ds-base | Ubuntu | questing | * |