CVE-2026-72897
Last modified
CVE-2026-72897 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Openssl | Openssl | >= 3.4.0, < 3.4.8 |
| Openssl | Openssl | >= 3.5.0, < 3.5.9 |
| Openssl | Openssl | >= 3.6.0, < 3.6.5 |
| Openssl | Openssl | >= 4.0.0, < 4.0.3 |
References
- https://openssl-library.org/news/secadv/20260929.txtVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-72897?
How severe is CVE-2026-72897?
How do I fix CVE-2026-72897?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-72886Dokploy is a free, self-hostable Platform as a Service (PaaS…9.9
- CVE-2026-72887Net::OAuth::Client versions before 0.32 for Perl allow the s…9.8
- CVE-2026-72888Net::OAuth versions before 0.32 for Perl allow memory exhaus…6.5
- CVE-2026-72889Net::OAuth versions before 0.33 for Perl allow the sender to…9.8
- CVE-2026-7289A vulnerability was found in D-Link DIR-825M 1.1.12. This is…8.8
- CVE-2026-72895A vulnerability has been identified in SIMATIC IPC BX-21A (A…7.7
- CVE-2026-72898Metabase allows a remote, unauthenticated attacker to inject…10
- CVE-2026-72899Metabase allows an unauthenticated attacker to inject arbitr…10
- CVE-2026-7290A vulnerability was determined in JeecgBoot up to 3.9.1. Imp…6.3
- CVE-2026-72900Metabase allows an authenticated, low-privileged attacker to…6.5
- CVE-2026-72901Dokploy is a free, self-hostable Platform as a Service (PaaS…9.9
- CVE-2026-72902Dokploy is a free, self-hostable Platform as a Service (PaaS…9.9
Are you affected by CVE-2026-72897?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
