CVE-2026-11610

389-ds-base: 389-ds-base: heap buffer overflow in sasl_io_recv() via padded sasl unbind

Published Jul 7, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A heap buffer overflow (CWE-122) exists 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 transmit an oversized LDAP UNBIND packet. The packet is copied into a 512‑byte heap receive buffer without bounds checking in sasl_io_recv(), allowing the attacker to inject roughly 2 MB of data. The overflow crashes the server, causing a denial of service. 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 the vulnerability over the network after authenticating via GSSAPI. The vulnerable code path has existed since about 2013 (389‑ds‑base 1.3.2) and was not fixed by the earlier CVE‑2025‑14905 heap overflow patch.

Affected Systems

The vulnerability affects all supported Red Hat Directory Server releases from 11 through 13, including the E4S variants, and spans Red Hat Enterprise Linux 6, 7, 8, 9 and 10. It also applies to FreeIPA and Red Hat Identity Management deployments that employ Kerberos/GSSAPI authentication, permitting any domain user with a valid Kerberos ticket, enrolled host, or any service account to trigger the crash over the network.

Risk and Exploitability

Based on the description, it is inferred that the attack vector is a network-based attacker who first authenticates via SASL and then sends an oversized LDAP UNBIND packet. The CVSS score of 8.8 reflects a high‑severity flaw; the EPSS score of < 1 % suggests a low current probability of exploitation. The vulnerability requires access to LDAP ports 389 or 636 over the network and an authenticated SASL session, making the attack vector a trusted internal or external attacker who has SASL credentials. Once the attacker sends the crafted UNBIND packet, the server crashes, impacting the entire directory service’s availability. The flaw is not listed in CISA KEV. No complete workaround exists beyond the mitigation steps listed.

Remediation

Vendor Workaround

There is no complete workaround for this flaw. Mitigations that reduce exposure: 1. Restrict network access to LDAP ports (389/636) to trusted networks only. Note: In FreeIPA/IdM deployments, enrolled clients require LDAP access and this may not be practical. 2. If DIGEST-MD5 is not required, disable it via nsslapd-allowed-sasl-mechanisms in cn=config. GSSAPI/Kerberos cannot be disabled in FreeIPA/IdM without breaking domain authentication. 3. Monitor for oversized LDAP UNBIND packets (standard UNBIND is 7 bytes; alert on UNBIND packets exceeding ~100 bytes). 4. Lowering nsslapd-maxbersize reduces maximum overflow size but does not eliminate the vulnerability.


OpenCVE Recommended Actions

  • Apply all RHSA errata that address this vulnerability (e.g., RHSA-2026:36195 through RHSA-2026:36670).
  • Restrict access to LDAP ports 389 and 636 to trusted networks only.
  • If DIGEST-MD5 is not required, disable it via nsslapd-allowed-sasl-mechanisms in cn:config.
  • Monitor LDAP traffic for oversized UNBIND packets and trigger alerts when packet size exceeds ~100 bytes.
  • Lower nsslapd-maxbersize to reduce the potential overflow size.

Generated by OpenCVE AI on July 31, 2026 at 14:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:directory_server:12
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:6 cpe:/o:redhat:rhel_els:6
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.6::appstream
cpe:/a:redhat:rhel_eus:9.6::crb
Vendors & Products Redhat rhel Eus
References
Type Values Removed Values Added
First Time appeared Redhat enterprise Linux Eus
CPEs cpe:/a:redhat:directory_server_e4s:12.2::el9
cpe:/o:redhat:enterprise_linux_eus:10.0
Vendors & Products Redhat enterprise Linux Eus
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:directory_server:13.2::el10
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:9.2::appstream
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:directory_server:11
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:directory_server:11.9::el8
cpe:/a:redhat:directory_server_e4s:12.4::el9
cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/a:redhat:enterprise_linux:9::crb
cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel Els
Redhat rhel Eus Long Life
CPEs cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:8::appstream
cpe:/a:redhat:rhel_aus:8.4::appstream
cpe:/a:redhat:rhel_aus:8.6::appstream
cpe:/a:redhat:rhel_eus_long_life:8.4::appstream
cpe:/a:redhat:rhel_eus_long_life:8.6::appstream
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Aus
Redhat rhel Els
Redhat rhel Eus Long Life
References
Type Values Removed Values Added
First Time appeared Redhat directory Server E4s
Redhat rhel E4s
Redhat rhel Tus
CPEs cpe:/a:redhat:directory_server_e4s:11.5::el8
cpe:/a:redhat:directory_server_e4s:11.7::el8
cpe:/a:redhat:rhel_e4s:8.8::appstream
cpe:/a:redhat:rhel_e4s:9.4::appstream
cpe:/a:redhat:rhel_tus:8.8::appstream
Vendors & Products Redhat directory Server E4s
Redhat rhel E4s
Redhat rhel Tus
References
Type Values Removed Values Added
Description 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.
Title 389-ds-base: 389-ds-base: heap buffer overflow in sasl_io_recv() via padded sasl unbind
First Time appeared Redhat
Redhat directory Server
Redhat enterprise Linux
Weaknesses CWE-122
CPEs cpe:/a:redhat:directory_server:11
cpe:/a:redhat:directory_server:12
cpe:/a:redhat:directory_server:13
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat directory Server
Redhat enterprise Linux
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 26, 2026, 1:44 PM
Reserved
Jun 8, 2026, 4:13 PM
Status
Awaiting Analysis
Published
Jul 7, 2026, 10:16 AM
Modified
Nov 26, 2026, 2:17 PM
Severity
Important
Public date
Jul 7, 2026, 9:00 AM