Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-2673 EUVD-2026-12033GHSA-wj64-gh9j-xm82

OpenSSL TLS 1.3 server may choose unexpected key agreement group

Published Mar 13, 2026 · Updated May 18, 2026 · Assigned by openssl

Description

Issue summary: An OpenSSL TLS 1.3 server may fail to negotiate the expected
preferred key exchange group when its key exchange group configuration includes
the default by using the 'DEFAULT' keyword.

Impact summary: A less preferred key exchange may be used even when a more
preferred group is supported by both client and server, if the group
was not included among the client's initial predicated keyshares.
This will sometimes be the case with the new hybrid post-quantum groups,
if the client chooses to defer their use until specifically requested by
the server.

If an OpenSSL TLS 1.3 server's configuration uses the 'DEFAULT' keyword to
interpolate the built-in default group list into its own configuration, perhaps
adding or removing specific elements, then an implementation defect causes the
'DEFAULT' list to lose its 'tuple' structure, and all server-supported groups
were treated as a single sufficiently secure 'tuple', with the server not
sending a Hello Retry Request (HRR) even when a group in a more preferred tuple
was mutually supported.

As a result, the client and server might fail to negotiate a mutually supported
post-quantum key agreement group, such as 'X25519MLKEM768', if the client's
configuration results in only 'classical' groups (such as 'X25519' being the
only ones in the client's initial keyshare prediction).

OpenSSL 3.5 and later support a new syntax for selecting the most preferred TLS
1.3 key agreement group on TLS servers. The old syntax had a single 'flat'
list of groups, and treated all the supported groups as sufficiently secure.
If any of the keyshares predicted by the client were supported by the server
the most preferred among these was selected, even if other groups supported by
the client, but not included in the list of predicted keyshares would have been
more preferred, if included.

The new syntax partitions the groups into distinct 'tuples' of roughly
equivalent security. Within each tuple the most preferred group included among
the client's predicted keyshares is chosen, but if the client supports a group
from a more preferred tuple, but did not predict any corresponding keyshares,
the server will ask the client to retry the ClientHello (by issuing a Hello
Retry Request or HRR) with the most preferred mutually supported group.

The above works as expected when the server's configuration uses the built-in
default group list, or explicitly defines its own list by directly defining the
various desired groups and group 'tuples'.

No OpenSSL FIPS modules are affected by this issue, the code in question lies
outside the FIPS boundary.

OpenSSL 3.6 and 3.5 are vulnerable to this issue.

OpenSSL 3.6 users should upgrade to OpenSSL 3.6.2 once it is released.
OpenSSL 3.5 users should upgrade to OpenSSL 3.5.6 once it is released.

OpenSSL 3.4, 3.3, 3.0, 1.0.2 and 1.1.1 are not affected by this issue.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 3.6.0 – < 3.6.2, 3.5.0 – < 3.5.6 3.6.2

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 3.6.2-1 —
Debian 13 openssl 3.5.5-1~deb13u2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 openssl 3.5.5-1ubuntu3 —
Ubuntu 26.04 LTS openssl 3.5.5-1ubuntu3 —
Ubuntu 25.10 openssl 3.5.3-1ubuntu3.3 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 openssl +3 1:3.5.5-2.el10_2 RHSA-2026:19066
RHEL 9 openssl +3 1:3.5.5-3.el9_8 RHSA-2026:22312
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 openssl +5 3.5.6-0.1.hum1 RHSA-2026:7261

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 openssl +3 1:3.5.5-2.el10_2.alma.1 ALSA-2026:19066
AlmaLinux 9 openssl +3 1:3.5.5-3.el9_8 ALSA-2026:22312
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 openssl-3 3.5.0-160000.7.1 SUSE-SU-2026:22315-1, SUSE-SU-2026:21186-1
SLES 16.0 openssl-3 3.5.0-160000.7.1 SUSE-SU-2026:22315-1, SUSE-SU-2026:21186-1
SLE Micro 6.2 openssl-3 3.5.0-160000.7.1 SUSE-SU-2026:22251-1, SUSE-SU-2026:21107-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssl-3 3.5.3-4.1 openSUSE-SU-2026:10533-1
openSUSE Leap 16.0 openssl-3 3.5.0-160000.7.1 openSUSE-SU-2026:21005-1, openSUSE-SU-2026:20525-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssl 3.5.6-r0 —
Alpine v3.23 openssl 3.5.6-r0 —
Alpine v3.22 openssl 3.5.6-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssl +5 1:3.5.5-1.amzn2023.0.3 ALAS2023-2026-1522

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling libssl3 +5 3.6.1-r3 —

Advisories 17

References