CVE-2026-18355389-ds-base: 389-ds-base: heap buffer overflow via sasl wrapped-record length…
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-18355 | |
| Ubuntu 26.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2026-18355 | |
| Ubuntu 24.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2026-18355 | |
| Ubuntu 22.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2026-18355 | |
| Ubuntu 20.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-18355 | |
| Ubuntu 18.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-18355 | |
| Ubuntu 16.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-18355 | |
| Debian 13 | 389-ds-base | Fix pending | DEBIAN-CVE-2026-18355 | |
| Debian 12 | 389-ds-base | Fix pending | DEBIAN-CVE-2026-18355 | |
| Red Hat Enterprise Linux 10 | 389-ds-base | Fixed | 0:3.2.0-10.el10_2 | RHSA-2026:64785 |
| Red Hat Enterprise Linux 10 | 389-ds-base-bdb | Fixed | 0:3.2.0-10.el10_2 | RHSA-2026:64785 |
| Red Hat Enterprise Linux 10 | 389-ds-base-devel | Fixed | 0:3.2.0-10.el10_2 | RHSA-2026:64785 |
| Red Hat Enterprise Linux 10 | 389-ds-base-libs | Fixed | 0:3.2.0-10.el10_2 | RHSA-2026:64785 |
| Red Hat Enterprise Linux 10 | 389-ds-base-snmp | Fixed | 0:3.2.0-10.el10_2 | RHSA-2026:64785 |
| Red Hat Enterprise Linux 10 | python3-lib389 | Fixed | 0:3.2.0-10.el10_2 | RHSA-2026:64785 |
| Red Hat Enterprise Linux 9 | 389-ds-base | Fixed | 0:2.8.0-10.el9_8 | RHSA-2026:64784 |
| Red Hat Enterprise Linux 9 | 389-ds-base-devel | Fixed | 0:2.8.0-10.el9_8 | RHSA-2026:64784 |
| Red Hat Enterprise Linux 9 | 389-ds-base-libs | Fixed | 0:2.8.0-10.el9_8 | RHSA-2026:64784 |
| Red Hat Enterprise Linux 9 | 389-ds-base-snmp | Fixed | 0:2.8.0-10.el9_8 | RHSA-2026:64784 |
| Red Hat Enterprise Linux 9 | python3-lib389 | Fixed | 0:2.8.0-10.el9_8 | RHSA-2026:64784 |
| Red Hat Enterprise Linux 8 | 389-ds-base | Fixed | 0:1.4.3.39-28.module+el8.10.0+24822+205d20dc | RHSA-2026:64791 |
| Red Hat Enterprise Linux 8 | 389-ds-base-devel | Fixed | 0:1.4.3.39-28.module+el8.10.0+24822+205d20dc | RHSA-2026:64791 |
| Red Hat Enterprise Linux 8 | 389-ds-base-legacy-tools | Fixed | 0:1.4.3.39-28.module+el8.10.0+24822+205d20dc | RHSA-2026:64791 |
| Red Hat Enterprise Linux 8 | 389-ds-base-libs | Fixed | 0:1.4.3.39-28.module+el8.10.0+24822+205d20dc | RHSA-2026:64791 |
| Red Hat Enterprise Linux 8 | 389-ds-base-snmp | Fixed | 0:1.4.3.39-28.module+el8.10.0+24822+205d20dc | RHSA-2026:64791 |
| Red Hat Enterprise Linux 8 | python3-lib389 | Fixed | 0:1.4.3.39-28.module+el8.10.0+24822+205d20dc | RHSA-2026:64791 |
| Red Hat Enterprise Linux 6 | 389-ds-base | Not affected | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-libs | Not affected | ||
| AlmaLinux 10 | python3-lib389 | Fixed | 3.2.0-10.el10_2 | ALSA-2026:64785 |
| AlmaLinux 9 | 389-ds-base | Fixed | 2.8.0-10.el9_8 | ALSA-2026:64784 |
| AlmaLinux 9 | 389-ds-base-devel | Fixed | 2.8.0-10.el9_8 | ALSA-2026:64784 |
| AlmaLinux 9 | 389-ds-base-libs | Fixed | 2.8.0-10.el9_8 | ALSA-2026:64784 |
| AlmaLinux 9 | 389-ds-base-snmp | Fixed | 2.8.0-10.el9_8 | ALSA-2026:64784 |
| AlmaLinux 9 | python3-lib389 | Fixed | 2.8.0-10.el9_8 | ALSA-2026:64784 |
| AlmaLinux 8 | 389-ds-base | Fixed | 1.4.3.39-28.module_el8.10.0+4274+00f9a3f1 | ALSA-2026:64791 |
| AlmaLinux 8 | 389-ds-base-devel | Fixed | 1.4.3.39-28.module_el8.10.0+4274+00f9a3f1 | ALSA-2026:64791 |
| AlmaLinux 8 | 389-ds-base-legacy-tools | Fixed | 1.4.3.39-28.module_el8.10.0+4274+00f9a3f1 | ALSA-2026:64791 |
| AlmaLinux 8 | 389-ds-base-libs | Fixed | 1.4.3.39-28.module_el8.10.0+4274+00f9a3f1 | ALSA-2026:64791 |
| AlmaLinux 8 | 389-ds-base-snmp | Fixed | 1.4.3.39-28.module_el8.10.0+4274+00f9a3f1 | ALSA-2026:64791 |
| AlmaLinux 8 | python3-lib389 | Fixed | 1.4.3.39-28.module_el8.10.0+4274+00f9a3f1 | ALSA-2026:64791 |
| Rocky Linux 10 | 389-ds-base | Fixed | 0:3.2.0-10.el10_2 | RLSA-2026:64785 |
| Rocky Linux 9 | 389-ds-base | Fixed | 0:2.8.0-10.el9_8 | RLSA-2026:64784 |
| Rocky Linux 8 | 389-ds-base | Fixed | 0:1.4.3.39-28.module+el8.10.0+40311+cd962df1 | RLSA-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.
- 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
- Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat Enterprise Linux 7 Extended Lifecycle Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
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:
- https://access.redhat.com/errata/RHSA-2026:64771 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:64776 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:64778 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:64779 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:64780 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:64781 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:64771
- https://access.redhat.com/errata/RHSA-2026:64776
- https://access.redhat.com/errata/RHSA-2026:64778
- https://access.redhat.com/errata/RHSA-2026:64779
- https://access.redhat.com/errata/RHSA-2026:64780
- https://access.redhat.com/errata/RHSA-2026:64781
- https://access.redhat.com/errata/RHSA-2026:64783
- https://access.redhat.com/errata/RHSA-2026:64784
- https://access.redhat.com/errata/RHSA-2026:64785
- https://access.redhat.com/errata/RHSA-2026:64789
- https://access.redhat.com/errata/RHSA-2026:64790
- https://access.redhat.com/errata/RHSA-2026:64791
- https://access.redhat.com/errata/RHSA-2026:64792
- https://access.redhat.com/errata/RHSA-2026:64793
- https://access.redhat.com/errata/RHSA-2026:64804
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.