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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenSSL | 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 | 4.0.3 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openssl | 3.6.5-1 | — |
| Debian 13 | openssl | 3.5.7-1~deb13u3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | edk2 +1 | No fix yet | — |
| Ubuntu 26.04 LTS | edk2 +1 | No fix yet | — |
| Ubuntu 26.04 LTS | openssl | 3.5.5-1ubuntu3.6 | USN-8847-1 |
| Ubuntu 24.04 LTS | openssl | 3.0.13-0ubuntu3.16 | USN-8847-1 |
| Ubuntu 22.04 LTS | openssl | 3.0.2-0ubuntu1.30 | USN-8847-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | nodejs | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | openssl +3 | 1:3.5.9-1.el10_3 | RHSA-2026:98588 |
| RHEL 9 | openssl +3 | 1:3.5.9-1.el9_9 | RHSA-2026:98484 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | openssl +10 | 1:3.5.9-0.1.hum1 | RHSA-2026:74166, RHSA-2026:74162 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | openssl +3 | 1:3.5.9-1.el10_3 | RLSA-2026:98588 |
| Rocky Linux 9 | openssl +3 | 1:3.5.9-1.el9_9 | RLSA-2026:98484 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | openssl-3 | 3.5.0-150700.5.53.2 | SUSE-SU-2026:4414-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | openssl-3 | 3.5.0-160000.11.1 | SUSE-SU-2026:24245-1 |
| SLES 16.0 | openssl-3 | 3.5.0-160000.11.1 | SUSE-SU-2026:24245-1 |
| SLE Micro 6.2 | openssl-3 | 3.5.0-160000.11.1 | SUSE-SU-2026:24188-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | openssl-3 | 3.5.0-160000.11.1 | openSUSE-SU-2026:22102-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.21 | openssl | 3.3.7-r2 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | edk2-ovmf +3 | 20260508-2.amzn2023 | ALAS2023-2026-3227 |
| Amazon Linux 2023 | openssl +5 | 1:3.5.8-1.amzn2023.0.3 | ALAS2023-2026-3204 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | openssl | 3.3.7-7 | — |
| Azure Linux 3 | rust +3 | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | openssl-4.0 +2 | 4.0.3-r0 | — |
Advisories 14
- RHSA-2026:98588 Red Hat Security Advisory: openssl security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:98484 Red Hat Security Advisory: openssl security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:74162 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:74166 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RLSA-2026:98588 Moderate: openssl security, bug fix, and enhancement update Rocky Linux Security Advisories · Nov 13, 2026
- RLSA-2026:98484 Moderate: openssl security, bug fix, and enhancement update Rocky Linux Security Advisories · Nov 13, 2026
- WID-SEC-2026-3638 OpenSSL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026
- ALAS2023-2026-3227 Important: edk2 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 26, 2026
- SUSE-SU-2026:24245-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Oct 21, 2026
- SUSE-SU-2026:24188-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Oct 20, 2026
- openSUSE-SU-2026:22102-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Oct 19, 2026
- ALAS2023-2026-3204 Important: openssl security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 12, 2026
- SUSE-SU-2026:4414-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Oct 2, 2026
- USN-8847-1 openssl vulnerabilities Ubuntu Security Notices (USN) · Oct 2, 2026
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