Red Hat Directory Server 11.5 E4S for RHEL 8
389-ds-base: 389-ds-base: integer overflow in sasl packet length bypasses size limit leading to heap buffer overflow
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Fixed in 8060020260702180044.0ca98e7e
Fixed in 8080020260702180836.f969626e
Fixed in 8100020260702145313.37ed7c03
Fixed in 9020020260703060155.1674d574
Fixed in 9040020260703055735.1674d574
Fixed in 0:3.2.0-8.el10_2
Fixed in 0:3.0.6-19.el10_0
Fixed in 0:1.3.11.1-13.el7_9
Fixed in 8100020260626120929.25e700aa
Fixed in 8040020260629123121.96015a92
Fixed in 8040020260629123121.96015a92
Fixed in 8060020260626130540.824efc52
Fixed in 8060020260626130540.824efc52
Fixed in 8080020260630025241.6dbb3803
Fixed in 8080020260630025241.6dbb3803
Fixed in 0:2.8.0-8.el9_8
Fixed in 0:2.2.4-19.el9_2
Fixed in 0:2.4.5-26.el9_4
Fixed in 0:2.6.1-22.el9_6
Fixed in 1783452100
Mitigation
Upgrade Red Hat Directory Server 11.5 E4S for RHEL 8 to 8060020260702180044.0ca98e7e or later.
Upgrade Red Hat Directory Server 11.7 E4S for RHEL 8 to 8080020260702180836.f969626e or later.
Upgrade Red Hat Directory Server 11.9 for RHEL 8 to 8100020260702145313.37ed7c03 or later.
Upgrade Red Hat Directory Server 12.2 E4S for RHEL 9 to 9020020260703060155.1674d574 or later.
Upgrade Red Hat Directory Server 12.4 E4S for RHEL 9 to 9040020260703055735.1674d574 or later.
Upgrade Red Hat Enterprise Linux 10 to 0:3.2.0-8.el10_2 or later.
Upgrade Red Hat Enterprise Linux 10.0 Extended Update Support to 0:3.0.6-19.el10_0 or later.
Upgrade Red Hat Enterprise Linux 7 Extended Lifecycle Support to 0:1.3.11.1-13.el7_9 or later.
Upgrade Red Hat Enterprise Linux 8 to 8100020260626120929.25e700aa or later.
Upgrade Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support to 8040020260629123121.96015a92 or later.
Upgrade Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On to 8040020260629123121.96015a92 or later.
Upgrade Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support to 8060020260626130540.824efc52 or later.
Upgrade Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On to 8060020260626130540.824efc52 or later.
Upgrade Red Hat Enterprise Linux 8.8 Telecommunications Update Service to 8080020260630025241.6dbb3803 or later.
Upgrade Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions to 8080020260630025241.6dbb3803 or later.
Upgrade Red Hat Enterprise Linux 9 to 0:2.8.0-8.el9_8 or later.
Upgrade Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions to 0:2.2.4-19.el9_2 or later.
Upgrade Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions to 0:2.4.5-26.el9_4 or later.
Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 0:2.6.1-22.el9_6 or later.
Upgrade Red Hat Directory Server 13.2 to 1783452100 or later.
Workaround
No complete workaround exists; nsslapd-maxsasliosize is bypassed by the integer overflow. Mitigations that reduce exposure: restrict SASL mechanisms (disable DIGEST-MD5 if not required; GSSAPI cannot be disabled in FreeIPA/IdM without breaking Kerberos authentication); firewall LDAP ports (389/636) to trusted networks; monitor for SASL-framed packets with length prefix 0xFFFFFFFC through 0xFFFFFFFF; enable audit logging (nsslapd-auditlog-logging-enabled: on); on RHEL 8, upgrading glibc reduces RCE exploitability but does not eliminate DoS.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:36195
- Vendor advisory access.redhat.com/errata/RHSA-2026:36196
- Vendor advisory access.redhat.com/errata/RHSA-2026:36197
5 more
- Vendor advisory access.redhat.com/errata/RHSA-2026:36198
- Vendor advisory access.redhat.com/errata/RHSA-2026:36200
- Vendor advisory access.redhat.com/errata/RHSA-2026:36201
- Vendor advisory access.redhat.com/errata/RHSA-2026:36202
- Vendor advisory access.redhat.com/errata/RHSA-2026:36204
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.