CVE-2026-72897 Out-of-Bounds Access After SSL_set_SSL_CTX() During a Handshake
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- OpenSSLUbuntuDebianRed Hat
Description
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.
Upgrade path
32 packages: 11 fixed, 21 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat openssl(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/compat-openssl11(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/edk2(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/edk2(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-8(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 4) | All versions | No fix listed | No fix yet |
| redhat/openshift/ose-rhel-coreos-9(Red Hat openshift 5) | All versions | No fix listed | No fix yet |
| redhat/openvox-agent(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/puppet-agent(Red Hat satellite 6) | All versions | No fix listed | No fix yet |
| redhat/rhdh/rhdh-hub-rhel9(Red Hat rhdh 1) | All versions | No fix listed | No fix yet |
| redhat/shim(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/shim(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/shim-unsigned-aarch64(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/shim-unsigned-aarch64(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| redhat/shim-unsigned-x64(Red Hat enterprise_linux 10) | All versions | No fix listed | No fix yet |
| redhat/shim-unsigned-x64(Red Hat enterprise_linux 9) | All versions | No fix listed | No fix yet |
| ubuntu/edk2(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/edk2(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/edk2-hwe(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/edk2-hwe(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/nodejs(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| alpine/openssl(Alpine v3.21) | < 3.3.7-r2 | 3.3.7-r2 | Fixed |
| azure linux edk2(Azure Linux 4.0) | < 0:20260812-8.azl4 | 0:20260812-8.azl4 | Fixed |
| debian/openssl(Debian 13) | < 3.5.7-1~deb13u3; = 3.5.1-1; = 3.5.1-1+deb13u1; = 3.5.2-1 +11 more | 3.5.7-1~deb13u3 | Fixed |
| debian/openssl(Debian 14) | < 3.6.5-1; = 3.5.1-1; = 3.5.2-1; = 3.5.3-1 +21 more | 3.6.5-1 | Fixed |
| OpenSSL | >= 3.4.0, < 3.4.8; >= 3.5.0, < 3.5.9; >= 3.6.0, < 3.6.5; >= 4.0.0, < 4.0.3 | 3.4.8, 3.5.9, 3.6.5, 4.0.3 | Fixed |
| OpenSSL(Azure Linux 3.0) | < 3.3.7-7 | 3.3.7-7 | Fixed |
| OpenSSL(Azure Linux 4.0) | < 1:3.5.9-13.azl4 | 1:3.5.9-13.azl4 | Fixed |
| redhat openssl(Red Hat enterprise_linux 10.3) | < 1:3.5.9-1.el10_3 | 1:3.5.9-1.el10_3 | Fixed |
| redhat/openssl-main(Red Hat hummingbird 1) | < 3.5.9-0.1.hum1 | 3.5.9-0.1.hum1 | Fixed |
… and 2 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| OpenSSL | >= 4.0.0, < 4.0.3 | 4.0.3 |
| OpenSSL | >= 3.6.0, < 3.6.5 | 3.6.5 |
| OpenSSL | >= 3.5.0, < 3.5.9 | 3.5.9 |
| OpenSSL | >= 3.4.0, < 3.4.8 | 3.4.8 |
| redhat openssl(Red Hat:enterprise_linux:10.3) | < 1:3.5.9-1.el10_3 | 1:3.5.9-1.el10_3 |
| redhat/openssl-main(Red Hat:hummingbird:1) | < 3.5.9-0.1.hum1 | 3.5.9-0.1.hum1 |
| redhat/openssl3-main(Red Hat:hummingbird:1) | < 3.5.9-0.1.hum1 | 3.5.9-0.1.hum1 |
| redhat/rhdh/rhdh-hub-rhel9(Red Hat:rhdh:1) | All versions | No fix listed |
| redhat/edk2(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/shim(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/shim-unsigned-aarch64(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/shim-unsigned-x64(Red Hat:enterprise_linux:10) | All versions | No fix listed |
| redhat/compat-openssl11(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/edk2(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat openssl(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/shim(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/shim-unsigned-aarch64(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/shim-unsigned-x64(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/rhoai/odh-core-bff-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-kf-notebook-controller-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-agent-ops-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-automl-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-autorag-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-eval-hub-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
Show 60 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-maas-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-mlflow-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-notebook-controller-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:5) | All versions | No fix listed |
| redhat/openvox-agent(Red Hat:satellite:6) | All versions | No fix listed |
| redhat/puppet-agent(Red Hat:satellite:6) | All versions | No fix listed |
| debian/openssl(Debian:13) | < 3.5.7-1~deb13u3 | 3.5.7-1~deb13u3 |
| debian/openssl(Debian:13) | = 3.5.1-1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.1-1+deb13u1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.2-1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.3-1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.4-1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.4-1~deb13u1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.4-1~deb13u2 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.5-1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.5-1~deb13u1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.5-1~deb13u2 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.6-1~deb13u1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.6-1~deb13u2 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.7-1~deb13u1 | No fix listed |
| debian/openssl(Debian:13) | = 3.5.7-1~deb13u2 | No fix listed |
| debian/openssl(Debian:14) | < 3.6.5-1 | 3.6.5-1 |
| debian/openssl(Debian:14) | = 3.5.1-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.2-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.3-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.4-1~deb13u2 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.5-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.5-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.5-1~deb13u2 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.6-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.6-1~deb13u2 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.7-1~deb13u1 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.7-1~deb13u2 | No fix listed |
| debian/openssl(Debian:14) | = 3.5.7-1~deb13u3 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.0-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.0-2 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.0~~alpha1-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.0~~beta1-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.1-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.1-2 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.1-3 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.2-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.3-1 | No fix listed |
| debian/openssl(Debian:14) | = 3.6.4-1 | No fix listed |
| ubuntu/nodejs(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/edk2(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/edk2-hwe(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/openssl(Ubuntu:26.04) | < 3.5.5-1ubuntu3.6 | 3.5.5-1ubuntu3.6 |
| ubuntu/edk2(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/edk2-hwe(Ubuntu:26.10) | All versions | No fix listed |
| alpine/openssl(Alpine:v3.21) | < 3.3.7-r2 | 3.3.7-r2 |
| OpenSSL(Azure Linux:3.0) | < 3.3.7-7 | 3.3.7-7 |
| azure linux edk2(Azure Linux:4.0) | < 0:20260812-8.azl4 | 0:20260812-8.azl4 |
| OpenSSL(Azure Linux:4.0) | < 1:3.5.9-13.azl4 | 1:3.5.9-13.azl4 |
References
- OpenSSL Advisory vendor-advisory
- 4.0.3 git commit patch
- 3.6.5 git commit patch
- 3.5.9 git commit patch
- 3.4.8 git commit patch
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:98588 patch vendor-advisory
- RHSA-2026:74162 patch vendor-advisory
- RHSA-2026:74166 patch vendor-advisory
- Red Hat Bugzilla 2543259 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-72897 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8847-1 vendor-advisory
- security.alpinelinux.org vendor-advisory
- Release and Advisory Timeline vendor-advisory
- Security advisory list (json) vendor-advisory
- ENISA EUVD EUVD-2026-89008 third-party-advisory