CVEfocus › CVE database › CVE-2026-72897

CVE-2026-72897Out-of-Bounds Access After SSL_set_SSL_CTX() During a Handshake

CVSS 7.5 HighEPSS 0.5% (higher than 35% of CVEs)Published 2026-09-29Updated 2026-09-29Assigner: openssl

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.

CWE-787

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

28Fixed
16Fix pending
51Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10edk2Fix pendingUBUNTU-CVE-2026-72897
Ubuntu 26.10edk2-hweFix pendingUBUNTU-CVE-2026-72897
Ubuntu 26.04edk2Fix pendingUBUNTU-CVE-2026-72897
Ubuntu 26.04edk2-hweFix pendingUBUNTU-CVE-2026-72897
Ubuntu 26.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 26.04opensslFixed3.5.5-1ubuntu3.6UBUNTU-CVE-2026-72897
Ubuntu 24.04edk2Not affected
vulnerable_code_not_present
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04opensslNot affected
vulnerable_code_not_present
Ubuntu 22.04edk2Not affected
vulnerable_code_not_present
Ubuntu 22.04nodejsFix pendingUBUNTU-CVE-2026-72897
Ubuntu 22.04opensslNot affected
vulnerable_code_not_present
Debian 14opensslFixed3.6.5-1DEBIAN-CVE-2026-72897
Debian 13opensslFixed3.5.7-1~deb13u3DEBIAN-CVE-2026-72897
Red Hat Enterprise Linux 10edk2Fix pending
Affected
Red Hat Enterprise Linux 10edk2-aarch64Fix pending
Affected
Red Hat Enterprise Linux 10edk2-ovmfFix pending
Affected
Red Hat Enterprise Linux 10edk2-toolsFix pending
Affected
Red Hat Enterprise Linux 10edk2-tools-docFix pending
Affected
Red Hat Enterprise Linux 10mokutilNot affected
Red Hat Enterprise Linux 10opensslFixed1:3.5.9-1.el10_3RHSA-2026:98588
Red Hat Enterprise Linux 10openssl-develFixed1:3.5.9-1.el10_3RHSA-2026:98588
Red Hat Enterprise Linux 10openssl-libsFixed1:3.5.9-1.el10_3RHSA-2026:98588
Red Hat Enterprise Linux 10openssl-perlFixed1:3.5.9-1.el10_3RHSA-2026:98588
Red Hat Enterprise Linux 10shim-aa64Not affected
Red Hat Enterprise Linux 10shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 10shim-unsigned-x64Not affected
Red Hat Enterprise Linux 10shim-x64Not affected
Red Hat Enterprise Linux 9compat-openssl11Fix pending
Affected
Red Hat Enterprise Linux 9edk2Fix pending
Affected
Red Hat Enterprise Linux 9edk2-aarch64Fix pending
Affected
Red Hat Enterprise Linux 9edk2-ovmfFix pending
Affected
Red Hat Enterprise Linux 9edk2-toolsFix pending
Affected
Red Hat Enterprise Linux 9edk2-tools-docFix pending
Affected
Red Hat Enterprise Linux 9opensslFixed1:3.5.9-1.el9_9RHSA-2026:98484
Red Hat Enterprise Linux 9openssl-develFixed1:3.5.9-1.el9_9RHSA-2026:98484
Red Hat Enterprise Linux 9openssl-libsFixed1:3.5.9-1.el9_9RHSA-2026:98484
Red Hat Enterprise Linux 9openssl-perlFixed1:3.5.9-1.el9_9RHSA-2026:98484
Red Hat Enterprise Linux 9shimNot affected
Red Hat Enterprise Linux 9shim-aa64Not affected
Red Hat Enterprise Linux 9shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 9shim-unsigned-x64Not affected
Red Hat Enterprise Linux 9shim-x64Not affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8edk2-aarch64Not affected
Red Hat Enterprise Linux 8edk2-ovmfNot affected
Red Hat Enterprise Linux 8mingw-opensslNot affected
Red Hat Enterprise Linux 8mingw32-opensslNot affected
Red Hat Enterprise Linux 8mingw64-opensslNot affected
Red Hat Enterprise Linux 8opensslNot affected
Red Hat Enterprise Linux 8openssl-develNot affected
Red Hat Enterprise Linux 8openssl-libsNot affected
Red Hat Enterprise Linux 8openssl-perlNot affected
Red Hat Enterprise Linux 8openssl-staticNot affected
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 8shim-aa64Not affected
Red Hat Enterprise Linux 8shim-ia32Not affected
Red Hat Enterprise Linux 8shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 8shim-unsigned-x64Not affected
Red Hat Enterprise Linux 8shim-x64Not affected
Red Hat Enterprise Linux 7AAVMFNot affected
Red Hat Enterprise Linux 7OVMFNot affected
Red Hat Enterprise Linux 7mokutilNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7openssl-develNot affected
Red Hat Enterprise Linux 7openssl-libsNot affected
Red Hat Enterprise Linux 7openssl-perlNot affected
Red Hat Enterprise Linux 7openssl-staticNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 7shimNot affected
Red Hat Enterprise Linux 7shim-ia32Not affected
Red Hat Enterprise Linux 7shim-signedNot affected
Red Hat Enterprise Linux 7shim-x64Not affected
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 6openssl-develNot affected
Red Hat Enterprise Linux 6openssl-perlNot affected
Red Hat Enterprise Linux 6openssl-staticNot affected
AlmaLinux 10opensslFixed1:3.5.9-1.el10_3.alma.1ALSA-2026:98588
AlmaLinux 10openssl-develFixed1:3.5.9-1.el10_3.alma.1ALSA-2026:98588
AlmaLinux 10openssl-libsFixed1:3.5.9-1.el10_3.alma.1ALSA-2026:98588
AlmaLinux 10openssl-perlFixed1:3.5.9-1.el10_3.alma.1ALSA-2026:98588
AlmaLinux 9opensslFixed1:3.5.9-1.el9_9ALSA-2026:98484
AlmaLinux 9openssl-develFixed1:3.5.9-1.el9_9ALSA-2026:98484
AlmaLinux 9openssl-libsFixed1:3.5.9-1.el9_9ALSA-2026:98484
AlmaLinux 9openssl-perlFixed1:3.5.9-1.el9_9ALSA-2026:98484
Rocky Linux 10opensslFixed1:3.5.9-1.el10_3RLSA-2026:98588
Rocky Linux 10openssl-develFixed1:3.5.9-1.el10_3RLSA-2026:98588
Rocky Linux 10openssl-libsFixed1:3.5.9-1.el10_3RLSA-2026:98588
Rocky Linux 10openssl-perlFixed1:3.5.9-1.el10_3RLSA-2026:98588
Rocky Linux 9opensslFixed1:3.5.9-1.el9_9RLSA-2026:98484
Rocky Linux 9openssl-develFixed1:3.5.9-1.el9_9RLSA-2026:98484
Rocky Linux 9openssl-libsFixed1:3.5.9-1.el9_9RLSA-2026:98484
Rocky Linux 9openssl-perlFixed1:3.5.9-1.el9_9RLSA-2026:98484
Alpine Linux 3.21opensslFixed3.3.7-r2ALPINE-CVE-2026-72897

What the vendor says

As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.