Bug 2509186 (CVE-2026-18355) - 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()
Summary: CVE-2026-18355 389-ds-base: 389-ds-base: heap buffer overflow via SASL wrappe...
Keywords:
Status: NEW
Alias: CVE-2026-18355
Deadline: 2026-09-07
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2529452
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-30 07:45 UTC by OSIDB Bzimport
Modified: 2026-10-08 13:45 UTC (History)
12 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:64771 0 None None None 2026-09-08 01:56:35 UTC
Red Hat Product Errata RHSA-2026:64776 0 None None None 2026-09-08 02:21:25 UTC
Red Hat Product Errata RHSA-2026:64778 0 None None None 2026-09-08 02:22:19 UTC
Red Hat Product Errata RHSA-2026:64779 0 None None None 2026-09-08 02:07:52 UTC
Red Hat Product Errata RHSA-2026:64780 0 None None None 2026-09-08 02:08:39 UTC
Red Hat Product Errata RHSA-2026:64781 0 None None None 2026-09-08 02:39:14 UTC
Red Hat Product Errata RHSA-2026:64783 0 None None None 2026-09-08 03:31:57 UTC
Red Hat Product Errata RHSA-2026:64784 0 None None None 2026-09-08 05:44:36 UTC
Red Hat Product Errata RHSA-2026:64785 0 None None None 2026-09-08 05:07:31 UTC
Red Hat Product Errata RHSA-2026:64789 0 None None None 2026-09-08 02:42:43 UTC
Red Hat Product Errata RHSA-2026:64790 0 None None None 2026-09-08 02:47:43 UTC
Red Hat Product Errata RHSA-2026:64791 0 None None None 2026-09-08 04:36:53 UTC
Red Hat Product Errata RHSA-2026:64792 0 None None None 2026-09-08 02:38:45 UTC
Red Hat Product Errata RHSA-2026:64793 0 None None None 2026-09-08 02:39:35 UTC
Red Hat Product Errata RHSA-2026:64804 0 None None None 2026-09-08 03:47:04 UTC
Red Hat Product Errata RHSA-2026:79217 0 None None None 2026-10-08 13:45:34 UTC

Description OSIDB Bzimport 2026-07-30 07:45:18 UTC
A flaw was found in the SASL I/O layer of 389 Directory Server (389-ds-base). In sasl_io_start_packet(), the 4-byte wrapped-record length read from the wire is validated only against an upper bound (the check added for CVE-2026-11774). When a SASL-authenticated attacker sends a wrapped record with a wire length of 0 (or 1 or 2), the resulting encrypted_buffer_count (4, 5, or 6 after adding sizeof(uint32_t)) is less than encrypted_buffer_offset (7, the header bytes already consumed). The unsigned subtraction in sasl_io_read_packet() then underflows to approximately 0xFFFFFFFD, and PR_Recv is requested to read roughly 4 GiB into the 1024-byte encrypted_buffer allocated in sasl_io_init_buffers(). This causes a heap buffer overflow with attacker-controlled length and content. The vulnerability requires authentication via a SASL bind with integrity protection (SSF > 0). This is a distinct defect from CVE-2026-11774, which only guards against lengths near UINT32_MAX; the lower-end case is not covered and the vulnerability persists at HEAD.

Comment 1 errata-xmlrpc 2026-09-08 01:56:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2026:64771 https://access.redhat.com/errata/RHSA-2026:64771

Comment 2 errata-xmlrpc 2026-09-08 02:07:50 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 12.2 E4S for RHEL 9

Via RHSA-2026:64779 https://access.redhat.com/errata/RHSA-2026:64779

Comment 3 errata-xmlrpc 2026-09-08 02:08:38 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 12.4 E4S for RHEL 9

Via RHSA-2026:64780 https://access.redhat.com/errata/RHSA-2026:64780

Comment 4 errata-xmlrpc 2026-09-08 02:21:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:64776 https://access.redhat.com/errata/RHSA-2026:64776

Comment 5 errata-xmlrpc 2026-09-08 02:22:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:64778 https://access.redhat.com/errata/RHSA-2026:64778

Comment 6 errata-xmlrpc 2026-09-08 02:38:43 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 11.7 E4S for RHEL 8

Via RHSA-2026:64792 https://access.redhat.com/errata/RHSA-2026:64792

Comment 7 errata-xmlrpc 2026-09-08 02:39:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:64781 https://access.redhat.com/errata/RHSA-2026:64781

Comment 8 errata-xmlrpc 2026-09-08 02:39:34 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 11.9 for RHEL 8

Via RHSA-2026:64793 https://access.redhat.com/errata/RHSA-2026:64793

Comment 9 errata-xmlrpc 2026-09-08 02:42:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:64789 https://access.redhat.com/errata/RHSA-2026:64789

Comment 10 errata-xmlrpc 2026-09-08 02:47:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:64790 https://access.redhat.com/errata/RHSA-2026:64790

Comment 11 errata-xmlrpc 2026-09-08 03:31:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:64783 https://access.redhat.com/errata/RHSA-2026:64783

Comment 12 errata-xmlrpc 2026-09-08 03:47:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:64804 https://access.redhat.com/errata/RHSA-2026:64804

Comment 13 errata-xmlrpc 2026-09-08 04:36:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:64791 https://access.redhat.com/errata/RHSA-2026:64791

Comment 14 errata-xmlrpc 2026-09-08 05:07:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:64785 https://access.redhat.com/errata/RHSA-2026:64785

Comment 15 errata-xmlrpc 2026-09-08 05:44:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:64784 https://access.redhat.com/errata/RHSA-2026:64784

Comment 18 Jon Orris 2026-10-08 13:45:33 UTC
This issue has been addressed in the following products:

  Red Hat Directory Server 11.5 E4S for RHEL 8

Via RHSA-2026:79217 https://access.redhat.com/errata/RHSA-2026:79217


Note You need to log in before you can comment on or make changes to this bug.