An integer overflow flaw was found in the SASL I/O layer of 389 Directory Server (389-ds-base). In sasl_io_start_packet(), adding sizeof(uint32_t) to a crafted SASL packet length prefix of 0xFFFFFFFC causes unsigned wraparound to zero, bypassing the nsslapd-maxsasliosize limit and leading to a heap buffer overflow of up to approximately 2 megabytes of attacker-controlled data. After a successful SASL bind with integrity protection (SSF > 0), a remote attacker can cause a Denial of Service (DoS) or achieve Remote Code Execution (RCE). In FreeIPA and Red Hat Identity Management deployments, any domain user with a valid Kerberos ticket, enrolled host, or service account can trigger this vulnerability over the network. This flaw is independent of CVE-2025-14905, which patched schema.c only and did not modify sasl_io.c.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
| 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 | * |