CVE-2026-72897
Out-of-Bounds Access After SSL_set_SSL_CTX() During a Handshake
Reported by openssl · Published September 29, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openssl | errata.rockylinux.org | 1:3.5.9-1.el9_9.x86_64, 1:3.5.9-1.el9_9.src, 1:3.5.9-1.el9_9.s390x, 1:3.5.9-1.el9_9.ppc64le, 1:3.5.9-1.el9_9.aarch64, 1:3.5.9-1.el10_3.x86_64, 1:3.5.9-1.el10_3.src, 1:3.5.9-1.el10_3.s390x, 1:3.5.9-1.el10_3.ppc64le, 1:3.5.9-1.el10_3.aarch64 |
| openssl-devel | errata.rockylinux.org | 1:3.5.9-1.el9_9.x86_64, 1:3.5.9-1.el9_9.s390x, 1:3.5.9-1.el9_9.ppc64le, 1:3.5.9-1.el9_9.i686, 1:3.5.9-1.el9_9.aarch64, 1:3.5.9-1.el10_3.x86_64, 1:3.5.9-1.el10_3.s390x, 1:3.5.9-1.el10_3.ppc64le, 1:3.5.9-1.el10_3.aarch64 |
| openssl-perl | errata.rockylinux.org | 1:3.5.9-1.el9_9.x86_64, 1:3.5.9-1.el9_9.s390x, 1:3.5.9-1.el9_9.ppc64le, 1:3.5.9-1.el9_9.aarch64, 1:3.5.9-1.el10_3.x86_64, 1:3.5.9-1.el10_3.s390x, 1:3.5.9-1.el10_3.ppc64le, 1:3.5.9-1.el10_3.aarch64 |
| openssl-debugsource | errata.rockylinux.org | 1:3.5.9-1.el9_9.x86_64, 1:3.5.9-1.el9_9.s390x, 1:3.5.9-1.el9_9.ppc64le, 1:3.5.9-1.el9_9.i686, 1:3.5.9-1.el9_9.aarch64, 1:3.5.9-1.el10_3.x86_64, 1:3.5.9-1.el10_3.s390x, 1:3.5.9-1.el10_3.ppc64le, 1:3.5.9-1.el10_3.aarch64 |
| openssl-snapsafe-libs | Amazon Linux | 1:3.5.8-1.amzn2023.0.3 |
| openssl | Alpine | 3.3.7-r2 |
| openssl-libs-debuginfo | errata.rockylinux.org | 1:3.5.9-1.el9_9.x86_64, 1:3.5.9-1.el9_9.s390x, 1:3.5.9-1.el9_9.ppc64le, 1:3.5.9-1.el9_9.i686, 1:3.5.9-1.el9_9.aarch64, 1:3.5.9-1.el10_3.x86_64, 1:3.5.9-1.el10_3.s390x, 1:3.5.9-1.el10_3.ppc64le, 1:3.5.9-1.el10_3.aarch64 |
| edk2-aarch64 | Amazon Linux | 20260508-2.amzn2023 |
| openssl-debuginfo | errata.rockylinux.org | 1:3.5.9-1.el9_9.x86_64, 1:3.5.9-1.el9_9.s390x, 1:3.5.9-1.el9_9.ppc64le, 1:3.5.9-1.el9_9.i686, 1:3.5.9-1.el9_9.aarch64, 1:3.5.9-1.el10_3.x86_64, 1:3.5.9-1.el10_3.s390x, 1:3.5.9-1.el10_3.ppc64le, 1:3.5.9-1.el10_3.aarch64 |
| edk2-ovmf | Amazon Linux | 20260508-2.amzn2023 |
| openssl-libs | errata.rockylinux.org | 1:3.5.9-1.el9_9.x86_64, 1:3.5.9-1.el9_9.s390x, 1:3.5.9-1.el9_9.ppc64le, 1:3.5.9-1.el9_9.i686, 1:3.5.9-1.el9_9.aarch64, 1:3.5.9-1.el10_3.x86_64, 1:3.5.9-1.el10_3.s390x, 1:3.5.9-1.el10_3.ppc64le, 1:3.5.9-1.el10_3.aarch64 |
| openssl-4.0 | Chainguard | 4.0.3-r0 |
10 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenSSL | OpenSSL | 4.0.0, 3.6.0, 3.5.0 |
| OpenSSL | OpenSSL | |
| amazon:2023 | openssl-snapsafe-libs | 0 |
| alpine | openssl | 0 |
| amazon:2023 | edk2-aarch64 | 0 |
| chainguard | openssl-provider-fips-3.4.0 | * |
| amazon:2023 | edk2-ovmf | 0 |
| chainguard | openssl-4.0 | 0 |
| amazon:2023 | openssl-perl | 0 |
| amazon:2023 | openssl-libs | 0 |
| chainguard | openssl-provider-fips-3.6.0 | * |
| chainguard | openssl-3.5 | 0 |
| amazon:2023 | edk2-shell-aa64 | 0 |
| amazon:2023 | openssl-fips-provider-latest | 0 |
| amazon:2023 | edk2-shell-x64 | 0 |
| amazon:2023 | openssl | 0 |
| wolfi | openssl-4.0 | 0 |
| OpenSSL | OpenSSL | 4.0.0, 3.4.0, 3.6.0 |
| amazon:2023 | openssl-devel | 0 |
Timeline
- Sep 29, 2026 Coalition ESS Score
- Sep 29, 2026 CVE Published
- Sep 30, 2026 EPSS Score (18 in total, the first dated here)
- Oct 8, 2026 CVE Updated
- Nov 14, 2026 Distribution Patch (4 in total, the first dated here)
- Nov 14, 2026 Security Advisory (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-72897
vulnetix vdb fixes CVE-2026-72897
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72897/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
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