CVEfocus › CVE database › CVE-2026-18355

CVE-2026-18355389-ds-base: 389-ds-base: heap buffer overflow via sasl wrapped-record length…

CVSS 7.5 HighEPSS 1.2% (higher than 67% of CVEs)Published 2026-09-07Updated 2026-11-04Assigner: redhat

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.

CWE-191

What to do

Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

32Fixed
6Fix pending
3Under investigation
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10389-ds-baseFix pendingUBUNTU-CVE-2026-18355
Ubuntu 26.04389-ds-baseUnder investigationUBUNTU-CVE-2026-18355
Ubuntu 24.04389-ds-baseUnder investigationUBUNTU-CVE-2026-18355
Ubuntu 22.04389-ds-baseUnder investigationUBUNTU-CVE-2026-18355
Ubuntu 20.04389-ds-baseFix pendingUBUNTU-CVE-2026-18355
Ubuntu 18.04389-ds-baseFix pendingUBUNTU-CVE-2026-18355
Ubuntu 16.04389-ds-baseFix pendingUBUNTU-CVE-2026-18355
Debian 13389-ds-baseFix pendingDEBIAN-CVE-2026-18355
Debian 12389-ds-baseFix pendingDEBIAN-CVE-2026-18355
Red Hat Enterprise Linux 10389-ds-baseFixed0:3.2.0-10.el10_2RHSA-2026:64785
Red Hat Enterprise Linux 10389-ds-base-bdbFixed0:3.2.0-10.el10_2RHSA-2026:64785
Red Hat Enterprise Linux 10389-ds-base-develFixed0:3.2.0-10.el10_2RHSA-2026:64785
Red Hat Enterprise Linux 10389-ds-base-libsFixed0:3.2.0-10.el10_2RHSA-2026:64785
Red Hat Enterprise Linux 10389-ds-base-snmpFixed0:3.2.0-10.el10_2RHSA-2026:64785
Red Hat Enterprise Linux 10python3-lib389Fixed0:3.2.0-10.el10_2RHSA-2026:64785
Red Hat Enterprise Linux 9389-ds-baseFixed0:2.8.0-10.el9_8RHSA-2026:64784
Red Hat Enterprise Linux 9389-ds-base-develFixed0:2.8.0-10.el9_8RHSA-2026:64784
Red Hat Enterprise Linux 9389-ds-base-libsFixed0:2.8.0-10.el9_8RHSA-2026:64784
Red Hat Enterprise Linux 9389-ds-base-snmpFixed0:2.8.0-10.el9_8RHSA-2026:64784
Red Hat Enterprise Linux 9python3-lib389Fixed0:2.8.0-10.el9_8RHSA-2026:64784
Red Hat Enterprise Linux 8389-ds-baseFixed0:1.4.3.39-28.module+el8.10.0+24822+205d20dcRHSA-2026:64791
Red Hat Enterprise Linux 8389-ds-base-develFixed0:1.4.3.39-28.module+el8.10.0+24822+205d20dcRHSA-2026:64791
Red Hat Enterprise Linux 8389-ds-base-legacy-toolsFixed0:1.4.3.39-28.module+el8.10.0+24822+205d20dcRHSA-2026:64791
Red Hat Enterprise Linux 8389-ds-base-libsFixed0:1.4.3.39-28.module+el8.10.0+24822+205d20dcRHSA-2026:64791
Red Hat Enterprise Linux 8389-ds-base-snmpFixed0:1.4.3.39-28.module+el8.10.0+24822+205d20dcRHSA-2026:64791
Red Hat Enterprise Linux 8python3-lib389Fixed0:1.4.3.39-28.module+el8.10.0+24822+205d20dcRHSA-2026:64791
Red Hat Enterprise Linux 6389-ds-baseNot affected
Red Hat Enterprise Linux 6389-ds-base-develNot affected
Red Hat Enterprise Linux 6389-ds-base-libsNot affected
AlmaLinux 10python3-lib389Fixed3.2.0-10.el10_2ALSA-2026:64785
AlmaLinux 9389-ds-baseFixed2.8.0-10.el9_8ALSA-2026:64784
AlmaLinux 9389-ds-base-develFixed2.8.0-10.el9_8ALSA-2026:64784
AlmaLinux 9389-ds-base-libsFixed2.8.0-10.el9_8ALSA-2026:64784
AlmaLinux 9389-ds-base-snmpFixed2.8.0-10.el9_8ALSA-2026:64784
AlmaLinux 9python3-lib389Fixed2.8.0-10.el9_8ALSA-2026:64784
AlmaLinux 8389-ds-baseFixed1.4.3.39-28.module_el8.10.0+4274+00f9a3f1ALSA-2026:64791
AlmaLinux 8389-ds-base-develFixed1.4.3.39-28.module_el8.10.0+4274+00f9a3f1ALSA-2026:64791
AlmaLinux 8389-ds-base-legacy-toolsFixed1.4.3.39-28.module_el8.10.0+4274+00f9a3f1ALSA-2026:64791
AlmaLinux 8389-ds-base-libsFixed1.4.3.39-28.module_el8.10.0+4274+00f9a3f1ALSA-2026:64791
AlmaLinux 8389-ds-base-snmpFixed1.4.3.39-28.module_el8.10.0+4274+00f9a3f1ALSA-2026:64791
AlmaLinux 8python3-lib389Fixed1.4.3.39-28.module_el8.10.0+4274+00f9a3f1ALSA-2026:64791
Rocky Linux 10389-ds-baseFixed0:3.2.0-10.el10_2RLSA-2026:64785
Rocky Linux 9389-ds-baseFixed0:2.8.0-10.el9_8RLSA-2026:64784
Rocky Linux 8389-ds-baseFixed0:1.4.3.39-28.module+el8.10.0+40311+cd962df1RLSA-2026:64791

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.