# CVE-2026-18355: 389-ds-base: 389-ds-base: heap buffer overflow via sasl wrapped-record length lower-bound underflow in sasl\_io\_start\_packet()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.17% (percentile 67, 2026-11-26)
- **CWE:** CWE-191
- **Published:** 2026-09-07T14:14:43.759Z
- **Modified:** 2026-11-26T15:17:28.560Z

## Who should check

- Anyone running Red Hat Directory Server 11.5 E4S for RHEL 8 all versions
- Anyone running Red Hat Directory Server 11.7 E4S for RHEL 8 all versions
- Anyone running Red Hat Directory Server 11.9 for RHEL 8 all versions
- Anyone running Red Hat Directory Server 12.2 E4S for RHEL 9 all versions
- Anyone running Red Hat Directory Server 12.4 E4S for RHEL 9 all versions
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 10.0 Extended Update Support all versions
- Anyone running Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions

## Description

A heap buffer overflow flaw was found in the SASL I/O layer of 389 Directory Server (389-ds-base). In sasl\_io\_start\_packet(), the wrapped-record length read from the wire is validated only against an upper bound. A small wire length (0, 1, or 2) produces an encrypted\_buffer\_count below the already-consumed encrypted\_buffer\_offset, causing an unsigned subtraction underflow in sasl\_io\_read\_packet(). PR\_Recv is then requested to read approximately 4 GiB into a 1024-byte heap buffer, resulting in a heap buffer overflow with attacker-controlled content. After a successful SASL bind with integrity protection (SSF \> 0), a remote authenticated attacker can cause a denial of service or potentially achieve remote code execution. This flaw is distinct from CVE-2026-11774, whose fix only guards against upper-bound overflow.

## Affected and fixed versions

- Red Hat Directory Server 11.5 E4S for RHEL 8: all versions (cvelist)
- Red Hat Directory Server 11.7 E4S for RHEL 8: all versions (cvelist)
- Red Hat Directory Server 11.9 for RHEL 8: all versions (cvelist)
- Red Hat Directory Server 12.2 E4S for RHEL 9: all versions (cvelist)
- Red Hat Directory Server 12.4 E4S for RHEL 9: all versions (cvelist)
- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 10.0 Extended Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 7 Extended Lifecycle Support: all versions (cvelist)
- Red Hat Enterprise Linux 8: all versions (cvelist)
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support: all versions (cvelist)
- Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On: all versions (cvelist)
- Red Hat Enterprise Linux 8.8 Telecommunications Update Service: all versions (cvelist)
- Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions: all versions (cvelist)
- Red Hat Enterprise Linux 9.6 Extended Update Support: all versions (cvelist)
- Red Hat Directory Server 13.2: all versions (cvelist)
- Red Hat Directory Server 12: all versions (cvelist)
- Red Hat Directory Server 13: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 6: see vendor advisory (cvelist)

## Mitigation

- Vendor workaround: Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-18355. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-18355.md
Affected: Red Hat Directory Server 11.5 E4S for RHEL 8 all versions; Red Hat Directory Server 11.7 E4S for RHEL 8 all versions; Red Hat Directory Server 11.9 for RHEL 8 all versions; Red Hat Directory Server 12.2 E4S for RHEL 9 all versions; Red Hat Directory Server 12.4 E4S for RHEL 9 all versions; Red Hat …
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Red Hat Directory Server 11.5 E4S for RHEL 8, Red Hat Directory Server 11.7 E4S for RHEL 8, Red Hat Directory Server 11.9 for RHEL 8, Red Hat Directory Server 12.2 E4S for RHEL 9, Red Hat Directory Server 12.4 E4S for RHEL 9, Red Hat Enterprise Linux 10: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-18355 being exploited?

There is no confirmed exploitation: CVE-2026-18355 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-18355?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-18355?

Red Hat Directory Server 11.5 E4S for RHEL 8 all versions; Red Hat Directory Server 11.7 E4S for RHEL 8 all versions; Red Hat Directory Server 11.9 for RHEL 8 all versions; Red Hat Directory Server 12.2 E4S for RHEL 9 all versions; Red Hat Directory Server 12.4 E4S for RHEL 9 all versions; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 10.0 Extended Update Support all versions; Red Hat Enterprise Linux 7 Extended Lifecycle Support all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On all versions; Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support all versions; Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On all versions; Red Hat Enterprise Linux 8.8 Telecommunications Update Service all versions; Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions all versions; Red Hat Enterprise Linux 9.6 Extended Update Support all versions; Red Hat Directory Server 13.2 all versions; Red Hat Directory Server 12 all versions; Red Hat Directory Server 13; Red Hat Enterprise Linux 6.

### Is there a fix for CVE-2026-18355?

No fixed version is listed in the sources yet. Vendor workaround: Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

### How do I check if I'm affected by CVE-2026-18355?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2026:64771>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64776>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64778>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64779>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64780>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64781>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64783>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64784>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64785>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64789>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64790>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64791>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64792>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64793>
- vendor: <https://access.redhat.com/errata/RHSA-2026:64804>
- vendor: <https://access.redhat.com/errata/RHSA-2026:65119>
- vendor: <https://access.redhat.com/errata/RHSA-2026:79217>
- other: <https://access.redhat.com/security/cve/CVE-2026-18355>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2509186>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-18355>

HTML: <https://flawdb.com/CVE-2026-18355> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-18355>
