Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-35190 EUVD-2026-126929GHSA-r3mj-hq6x-h82q

Out-of-Bounds Read in TLS 1.3 Key-Share Processing with Suite B Certificate Flag

Published Nov 17, 2026 · Updated Nov 17, 2026 · Assigned by openssl

Description

Issue summary: A server configured with the Suite B certificate flag through
SSL_CTX_set_cert_flags() and with TLS 1.3 enabled may read past the end of a
fixed group list when it processes a ClientHello whose supported_groups and
key_share contain no Suite B group.

Impact summary: A remote client can send a ClientHello that makes the server
read past the end of a static array. The values read are never returned to the
client, so no memory is disclosed; on builds with sanitizers or hardened
allocators the read may crash the process, causing Denial of Service.

CWE: CWE-125: Out-of-bounds Read

Description: When the Suite B certificate flag is set, OpenSSL restricts the
accepted groups to P-256 and P-384 by substituting a fixed two-element list
for the configured group list. The tuple machinery used for key-share
selection was not updated for this substitution: tls1_get_group_tuples() still
returns the configured tuples, which by default describe eight groups. The
server-side walk in tls_parse_ctos_key_share() then advances through the
two-element list using those tuple counts without checking the cumulative
offset against the number of groups present.

Only applications that call SSL_CTX_set_cert_flags() with
SSL_CERT_FLAG_SUITEB_128_LOS and leave TLS 1.3 enabled are affected. The
openssl s_server -suiteB_128 option sets an X.509 verification parameter
instead, so the stock command line server is not vulnerable. Default
configurations do not reach this code.

A client that offers only groups outside the Suite B set, such as X25519,
forces every tuple to be walked and the read to run past the array. The bytes
read are compared against client group IDs and never sent back, so no memory
is disclosed. On builds with address sanitizers or hardened allocators the
read can abort the process; in ordinary release builds it reads a few bytes of
adjacent constant data.

FIPS impact: no
The affected code is outside the FIPS module boundary.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 4.1.0 – < 4.1.1, 4.0.0 – < 4.0.4, 3.5.0 – < 3.5.10 4.1.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl No fix yet —
Debian 13 openssl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 edk2 +2 No fix yet —
Ubuntu 26.04 LTS edk2 +2 No fix yet —
Ubuntu 24.04 LTS edk2 +1 No fix yet —
Ubuntu 22.04 LTS edk2 +1 No fix yet —
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 18.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 16.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 24.04 LTS openssl-fips No fix yet —
Ubuntu Pro FIPS-updates 22.04 LTS openssl +1 No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 18.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 16.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-preview 22.04 LTS openssl +1 No fix yet —
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS edk2 +1 No fix yet —
Ubuntu Pro 18.04 LTS edk2 +3 No fix yet —
Ubuntu Pro 16.04 LTS edk2 +2 No fix yet —
Ubuntu Pro 14.04 LTS openssl No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openssl-4.0-dev +2 No fix yet —

Advisories 1

References