CVE-2026-86345389-ds-base: 389-ds-base: starttls plaintext-buffer retention allows on-path attacker to…
A flaw was found in 389-ds-base. The server does not discard plaintext bytes already buffered from a client connection when negotiating StartTLS, allowing an on-path attacker to inject a crafted LDAP message that is processed after the TLS upgrade and whose response is delivered to the client in place of the client's own pending operation's response, due to messageID collision. This can cause a client application to treat a failed authentication (bind) attempt as successful.
What to do
Debian, Red Hat, 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-86345 | |
| Ubuntu 26.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2026-86345 | |
| Ubuntu 24.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2026-86345 | |
| Ubuntu 22.04 | 389-ds-base | Under investigation | UBUNTU-CVE-2026-86345 | |
| Ubuntu 20.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-86345 | |
| Ubuntu 18.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-86345 | |
| Ubuntu 16.04 | 389-ds-base | Fix pending | UBUNTU-CVE-2026-86345 | |
| Debian 13 | 389-ds-base | Fix pending | DEBIAN-CVE-2026-86345 | |
| Debian 12 | 389-ds-base | Fix pending | DEBIAN-CVE-2026-86345 | |
| Red Hat Enterprise Linux 10 | 389-ds-base | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-bdb | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | 389-ds-base-snmp | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | python3-lib389 | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | 389-ds-base-snmp | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | python3-lib389 | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-devel | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-legacy-tools | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-libs | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | 389-ds-base-snmp | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | cockpit-389-ds | Fix pending Affected | ||
| Red Hat Enterprise Linux 8 | python3-lib389 | Fix pending Affected | ||
| Red Hat Enterprise Linux 7 | 389-ds-base | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | 389-ds-base-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | 389-ds-base-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | 389-ds-base-snmp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | 389-ds-base | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | 389-ds-base-libs | Will not fix Out of support scope |
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
- Red Hat Directory Server 12
- Red Hat Directory Server 13
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Workaround: Disable StartTLS on port 389 and require ldaps:// (port 636) instead, which has no cleartext prefix to inject into. No configuration-only mitigation fully closes the issue on port 389 while StartTLS remains enabled.
References
- https://access.redhat.com/security/cve/CVE-2026-86345
- https://bugzilla.redhat.com/show_bug.cgi?id=2529332
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.