CVE-2026-35190

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

Published Nov 17, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An OpenSSL server that has enabled the Suite B certificate flag and TLS 1.3 can read beyond the end of a small fixed array while processing a ClientHello whose supported_groups and key_share do not include any Suite B group. The read does not return data to the client, so no confidential information is exposed; however, on builds that use sanitizers or hardened allocators the out-of-bounds read can terminate the server, resulting in a denial of service.

Affected Systems

Systems that use OpenSSL with the SSL_CTX_set_cert_flags() function enabled for SSL_CERT_FLAG_SUITEB_128_LOS while TLS 1.3 is also enabled are affected. The vulnerability is triggered only by applications that explicitly set this flag; the default OpenSSL configuration and the stock s_server command line are not vulnerable. Any deployment that relies on custom code configuring the Suite B flag must review its OpenSSL version and configuration.

Risk and Exploitability

The exploit requires a remote client to send a crafted ClientHello offering only groups outside the Suite B set (for example X25519). The vulnerable path is fully remote and does not require privileged access. While there is no risk of data disclosure, the absence of sanitization can lead to crashes; the EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. The standard CVSS score is missing in the public data, but the attack can be performed over the network and could cause server interruption.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to an OpenSSL release that includes the patch fixing the out-of-bounds read in TLS 1.3 key-share processing when the Suite B flag is enabled (see commit https://github.com/openssl/openssl/commit/9491b0d9cc...).
  • If an immediate upgrade is not possible, remove the Suite B certificate flag from your configuration by not calling SSL_CTX_set_cert_flags(SSL_CERT_FLAG_SUITEB_128_LOS) when TLS 1.3 is active.
  • Restrict the server’s supported group list to only the Suite B curves (P-256 or P-384) or enforce server-side validation of client supported_groups to avoid processing unsupported groups.

Generated by OpenCVE AI on November 17, 2026 at 09:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Openssl
Openssl openssl
Vendors & Products Openssl
Openssl openssl
Type Values Removed Values Added
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.
Title Out-of-Bounds Read in TLS 1.3 Key-Share Processing with Suite B Certificate Flag
Weaknesses CWE-125
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
openssl
Published
Updated
Nov 17, 2026, 8:15 AM
Reserved
Apr 1, 2026, 5:36 PM
Status
Received
Published
Nov 17, 2026, 9:17 AM
Modified
Nov 17, 2026, 9:17 AM