Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-72897

HIGH 7.5EPSS 25%

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

Mitigation

  • Upgrade OpenSSL to 3.4.8 or later.

Who should check

  • Anyone running OpenSSL >= 4.0.0, < 4.0.3; >= 3.6.0, < 3.6.5; >= 3.5.0, < 3.5.9; >= 3.4.0, < 3.4.8

Vulnerability facts

Affected
OpenSSL >= 4.0.0, < 4.0.3; >= 3.6.0, < 3.6.5; >= 3.5.0, < 3.5.9; >= 3.4.0, < 3.4.8
Fixed in
OpenSSL 4.0.3, OpenSSL 3.6.5, OpenSSL 3.5.9, OpenSSL 3.4.8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.40% chance of exploitation in 30 days (percentile 25, 2026-11-26)
CWE
CWE-787
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
OpenSSL>= 4.0.0, < 4.0.3; >= 3.6.0, < 3.6.5; >= 3.5.0, < 3.5.9; >= 3.4.0, < 3.4.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-72897. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72897.md
Affected: OpenSSL >= 4.0.0, < 4.0.3; >= 3.6.0, < 3.6.5; >= 3.5.0, < 3.5.9; >= 3.4.0, < 3.4.8
Fixed in: OpenSSL 4.0.3, OpenSSL 3.6.5, OpenSSL 3.5.9, OpenSSL 3.4.8

Steps:
1. Search this machine and project for OpenSSL: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-72897 being exploited?

There is no confirmed exploitation: CVE-2026-72897 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-72897?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-72897?

OpenSSL >= 4.0.0, < 4.0.3; >= 3.6.0, < 3.6.5; >= 3.5.0, < 3.5.9; >= 3.4.0, < 3.4.8.

Is there a fix for CVE-2026-72897?

Yes. Fixed in OpenSSL 4.0.3, OpenSSL 3.6.5, OpenSSL 3.5.9, OpenSSL 3.4.8. Upgrade OpenSSL to 3.4.8 or later.

How do I check if I'm affected by CVE-2026-72897?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors