CVE-2026-72897

EUVD-2026-89008
Issue summary: A TLS server that calls SSL_set_SSL_CTX() to switch a
connection to a different SSL_CTX part way through a handshake may access
memory beyond the end of an internal array if the replacement context knows
about more provider signature algorithms than the context the connection was
created from. Applications which never call SSL_set_SSL_CTX() are not
affected.

Impact summary: A remote peer may be able to cause a small out-of-bounds
read, and in some circumstances a fixed-value out-of-bounds write, on the
server heap. This may lead to a Denial of Service.

CWE: CWE-787: Out-of-bounds Write

Description: A TLS connection records how many certificate slots it has
when it is created, taken from the SSL_CTX that created it: the built-in
certificate types plus one slot for each provider TLS-SIGALG entry that
context was aware of. That count sizes an internal array of per-slot
certificate validity flags.

An application may replace a connection's SSL_CTX part way through the
handshake by calling SSL_set_SSL_CTX(), most commonly from a servername
callback in order to serve a different virtual host. Doing so did not
refresh the recorded count. A provider signature algorithm's slot index is
its position in the list of whichever context resolves it, so if the
replacement context is aware of more of them than the original, an
algorithm offered by the peer can resolve to an index beyond the end of the
array. Processing the peer's signature algorithms then reads one four byte
word past the end for each such algorithm and, where the word read is zero,
writes a fixed value over it. A peer offering many of them can corrupt heap
metadata and abort the process.

Only provider signature algorithms which occupy one of the excess slots,
and which the server also has configured, have this effect. Codepoints the
replacement context does not recognise are discarded without being resolved
to a slot, and provider signature algorithms are usable only from TLS 1.3.

The two contexts must therefore be aware of different numbers of provider
signature algorithms, which requires separate library contexts, a provider
loaded between the two being created, or providers which differ in what
they advertise - in 4.0, for example, the default provider advertises SM2
where the FIPS provider does not. A deployment meeting the condition is
also unable to negotiate the affected algorithms with legitimate clients,
since the same stale count hides the corresponding certificates, so the
misconfiguration is likely to be noticed. For that reason, and because the
configuration is not the default, this issue has been assessed as Low
severity.

FIPS impact: no
No FIPS modules are affected by this issue as the affected code is outside
the OpenSSL FIPS module boundary.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 33.46%
Affected Products (NVD)
VendorProductVersion
opensslopenssl
3.4.0 ≤
𝑥
< 3.4.8
opensslopenssl
3.5.0 ≤
𝑥
< 3.5.9
opensslopenssl
3.6.0 ≤
𝑥
< 3.6.5
opensslopenssl
4.0.0 ≤
𝑥
< 4.0.3
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
openssl
bookworm
3.0.20-1~deb12u2
fixed
bookworm (security)
3.0.22-1~deb12u2
fixed
forky
3.6.5-1
fixed
sid
3.6.5-1
fixed
trixie
vulnerable
trixie (security)
3.5.7-1~deb13u3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
openssl
bionic
not-affected
focal
not-affected
jammy
not-affected
noble
not-affected
resolute
Fixed 3.5.5-1ubuntu3.6
released
trusty
not-affected
xenial
not-affected
openssl-fips
jammy
not-affected
noble
not-affected
resolute
dne
openssl1.0
bionic
not-affected
jammy
dne
noble
dne
resolute
dne
nodejs
bionic
not-affected
focal
not-affected
jammy
needed
noble
not-affected
resolute
not-affected
trusty
not-affected
xenial
not-affected
edk2
bionic
not-affected
focal
not-affected
jammy
not-affected
noble
not-affected
resolute
needed
xenial
not-affected
edk2-hwe
jammy
dne
noble
dne
resolute
needed
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
libopenssl-3-devel
suse enterprise desktop 15 SP7
3.5.0-150700.5.53.2
fixed
suse enterprise sap 15 SP7
3.5.0-150700.5.53.2
fixed
suse enterprise server 15 SP7
3.5.0-150700.5.53.2
fixed
libopenssl-3-fips-provider
suse enterprise desktop 15 SP7
3.5.0-150700.5.53.2
fixed
suse enterprise sap 15 SP7
3.5.0-150700.5.53.2
fixed
suse enterprise server 15 SP7
3.5.0-150700.5.53.2
fixed
libopenssl-3-fips-provider-32bit
suse enterprise desktop 15 SP7
3.5.0-150700.5.53.2
fixed
suse enterprise sap 15 SP7
3.5.0-150700.5.53.2
fixed
suse enterprise server 15 SP7
3.5.0-150700.5.53.2
fixed
libopenssl3
suse enterprise desktop 15 SP7
3.5.0-150700.5.53.2
fixed
suse enterprise sap 15 SP7
3.5.0-150700.5.53.2
fixed
suse enterprise server 15 SP7
3.5.0-150700.5.53.2
fixed
libopenssl3-32bit
suse enterprise desktop 15 SP7
3.5.0-150700.5.53.2
fixed
suse enterprise sap 15 SP7
3.5.0-150700.5.53.2
fixed
suse enterprise server 15 SP7
3.5.0-150700.5.53.2
fixed
openssl-3
suse enterprise desktop 15 SP7
3.5.0-150700.5.53.2
fixed
suse enterprise sap 15 SP7
3.5.0-150700.5.53.2
fixed
suse enterprise server 15 SP7
3.5.0-150700.5.53.2
fixed
Red Hat logo
Red Hat Enterprise Linux Releases
Red Hat Product
Release
openssl
RHEL 9
1:3.5.9-1.el9_9
fixed
openssl-devel
RHEL 9
1:3.5.9-1.el9_9
fixed
openssl-libs
RHEL 9
1:3.5.9-1.el9_9
fixed
openssl-perl
RHEL 9
1:3.5.9-1.el9_9
fixed
Amazon Linux logo
Amazon Linux Releases
Amazon Package
Release
edk2-aarch64
Amazon Linux 2023
0:20260508-2.amzn2023
fixed
edk2-ovmf
Amazon Linux 2023
0:20260508-2.amzn2023
fixed
edk2-shell-aa64
Amazon Linux 2023
0:20260508-2.amzn2023
fixed
edk2-shell-x64
Amazon Linux 2023
0:20260508-2.amzn2023
fixed
openssl
Amazon Linux 2023
1:3.5.8-1.amzn2023.0.3
fixed
openssl-debuginfo
Amazon Linux 2023
1:3.5.8-1.amzn2023.0.3
fixed
openssl-debugsource
Amazon Linux 2023
1:3.5.8-1.amzn2023.0.3
fixed
openssl-devel
Amazon Linux 2023
1:3.5.8-1.amzn2023.0.3
fixed
openssl-fips-provider-latest
Amazon Linux 2023
1:3.5.8-1.amzn2023.0.3
fixed
openssl-fips-provider-latest-debuginfo
Amazon Linux 2023
1:3.5.8-1.amzn2023.0.3
fixed
openssl-libs
Amazon Linux 2023
1:3.5.8-1.amzn2023.0.3
fixed
openssl-libs-debuginfo
Amazon Linux 2023
1:3.5.8-1.amzn2023.0.3
fixed
openssl-perl
Amazon Linux 2023
1:3.5.8-1.amzn2023.0.3
fixed
openssl-snapsafe-libs
Amazon Linux 2023
1:3.5.8-1.amzn2023.0.3
fixed
openssl-snapsafe-libs-debuginfo
Amazon Linux 2023
1:3.5.8-1.amzn2023.0.3
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
openssl
Azure Linux 3.0
0:3.3.7-7.azl3
fixed