CVE-2026-31790
openssl: openssl: Information Disclosure from Uninitialized Memory via Invalid RSA Public Key
Overview
Description
Issue summary: Applications using RSASVE key encapsulation to establish
a secret encryption key can send contents of an uninitialized memory buffer to
a malicious peer.
Impact summary: The uninitialized buffer might contain sensitive data from the
previous execution of the application process which leads to sensitive data
leakage to an attacker.
RSA_public_encrypt() returns the number of bytes written on success and -1
on error. The affected code tests only whether the return value is non-zero.
As a result, if RSA encryption fails, encapsulation can still return success to
the caller, set the output lengths, and leave the caller to use the contents of
the ciphertext buffer as if a valid KEM ciphertext had been produced.
If applications use EVP_PKEY_encapsulate() with RSA/RSASVE on an
attacker-supplied invalid RSA public key without first validating that key,
then this may cause stale or uninitialized contents of the caller-provided
ciphertext buffer to be disclosed to the attacker in place of the KEM
ciphertext.
As a workaround calling EVP_PKEY_public_check() or
EVP_PKEY_public_check_quick() before EVP_PKEY_encapsulate() will mitigate
the issue.
The FIPS modules in 3.6, 3.5, 3.4, 3.3, 3.1 and 3.0 are affected by this issue.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-754
Affected packages · 3
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | AppBundler | >=1.0.0, <1.0.1 | 1.0.1 |
| Julia | Openresty_jll | >=1.27.1+0 | No fix yet |
| Julia | OpenSSL_jll | >=3.0.8+0, <3.0.20+0>=3.5.0+0, <3.5.6+0 | 3.0.20+03.5.6+0 |
Open a package to see all its vulnerabilities.
Operating systems · 80 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | openssl | 0:3.3.5-5.azl3 |
Oracle Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.5.5-2.0.1.el9_8 |
| 9 | openssl-fips-provider +1 | 3.0.7-11.0.1.el9_8 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssl +4 | 3.0.18-3.ph4 |
| 5.0 | openssl +5 | 3.0.18-3.ph5 |
Red Hat 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openshift-ose-rhel-coreos-9 +1 | affected | — |
| 8 | openshift-ose-rhel-coreos-9 +1 | affected | — |
| 9 | edk2 +6 | affected | — |
| 9 | openssl-fips-provider +1 | 0:3.0.7-11.el9_0 | RHSA-2026:28832 |
| 9 | openssl-fips-provider +1 | 0:3.0.7-11.el9_8 | RHSA-2026:27744 |
| 9 | openssl +1 | 1:3.0.7-18.el9_2.4 | RHSA-2026:84572 |
3 more rows
SUSE Linux Enterprise 6 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libopenssl-1-0-0-devel +7 | 1.0.2p-3.106.1 | SUSE-SU-2026:1256-1 |
| 15.4 | libopenssl-1-0-0-devel +4 | 1.0.2p-150000.3.105.1 | SUSE-SU-2026:1291-1 |
| 15.4 | libopenssl-1-1-devel +6 | 1.1.1l-150400.7.90.1 | SUSE-SU-2026:1257-1 |
| 15.4 | libopenssl-3-devel +2 | 3.0.8-150400.4.81.1 | SUSE-SU-2026:1214-1 |
| 15.5 | libopenssl-1-0-0-devel +4 | 1.0.2p-150000.3.105.1 | SUSE-SU-2026:1291-1 |
| 15.5 | libopenssl-3-devel +2 | 3.0.8-150500.5.60.1 | SUSE-SU-2026:1213-1 |
5 more rows
SUSE Linux Enterprise Micro 6 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.2 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.109.1 | SUSE-SU-2026:1216-1 |
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.90.1 | SUSE-SU-2026:1257-1 |
| 5.3 | libopenssl3 | 3.0.8-150400.4.81.1 | SUSE-SU-2026:1214-1 |
| 5.4 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.90.1 | SUSE-SU-2026:1257-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.81.1 | SUSE-SU-2026:1214-1 |
| 6.0 | libopenssl-3-devel +3 | 3.1.4-12.1 | SUSE-SU-2026:21065-1 |
2 more rows
alma 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | edk2-aarch64 +2 | 20251114-5.el10_2.2 |
| 9 | openssl +3 | 1:3.5.5-2.el9_8 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.5.6-r0 |
| 3.23 | openssl | 3.5.6-r0 |
| 3.24 | openssl | 3.5.6-r0 |
| edge | openssl | 3.5.6-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +10 | 1:3.5.5-1.amzn2023.0.4 |
chainguard 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-provider-fips-3-4-0 | 3.4.0-r5 | |
| openssl-3-5 | 3.5.6-r0 | |
| openssl-provider-fips-3-6-0 | 3.6.0-r3 | |
| libcrypto3-2-34 +1 | 3.6.2-r0 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | openssl | 3.0.19-1~deb12u2 |
| 13 | openssl | 3.5.5-1~deb13u2 |
| 14 | openssl | 3.6.2-1 |
echo 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.0.19-1~deb12u2 | |
| openssl-3-0-9 | 3.0.9+e1 | |
| openssl-3-1-0 | 3.1.0+e1 | |
| openssl-3-5-0 | 3.5.0+e1 |
minimos 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-3-0 | 3.0.20-r0 | |
| openssl | 3.5.6-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +9 | 3.5.3-4.1 | openSUSE-SU-2026:10533-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | libopenssl-3-devel +6 | 3.5.0-160000.7.1 | openSUSE-SU-2026:20525-1 |
rocky 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssl +1 | 1:3.5.5-2.el10_2 |
| 10 | edk2-aarch64 +1 | 20251114-5.el10_2.2 |
| 9 | openssl +1 | 1:3.5.5-2.el9_8 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.5.6-r0 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-openssl | 3.0.19-1~deb12u2 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
| 8 | openssl +1 | 1:1.1.1k-6.el8_5+sp999 |
| 9 | openssl +1 | 1:3.2.2-6.el9_5+sp999 |
seal alpine 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 3.3.2-r45341999 | |
| openssl | 3.3.3-r0000 | |
| seal-openssl | 3.3.3-r053413 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 3.0.11-1~deb12u2+sp999 | |
| openssl +1 | 3.0.13-0ubuntu3.4+sp999 | |
| openssl +1 | 3.0.16-1~deb12u1+sp999 | |
| openssl +1 | 3.0.2-0ubuntu1.19+sp999 | |
| openssl +1 | 3.0.2-0ubuntu1.20+sp999 | |
| openssl +1 | 3.5.4-1~deb13u1+sp999 |
ubuntu 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | openssl | 3.0.2-0ubuntu1.23 |
| 24.04 | edk2 | affected |
| 24.04 | openssl | 3.0.13-0ubuntu3.9 |
| 26.04 | edk2 | affected |
| 26.04 | openssl | 3.5.5-1ubuntu3 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.6.2-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:19066
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:19218
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-31790
- bugzilla.redhat.com https://bugzilla.redhat.com/2451094
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2451094
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-31790
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-19218.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:19066
Show all 23 references
- github.com https://github.com/advisories/GHSA-vgxx-5xj5-q97x
- github.com https://github.com/openssl/openssl/commit/001e01db3e996e13ffc72386fe79d03a6683b5ac
- github.com https://github.com/openssl/openssl/commit/abd8b2eec7e3f3fda60ecfb68498b246b52af482
- github.com https://github.com/openssl/openssl/commit/b922e24e5b23ffb9cb9e14cadff23d91e9f7e406
- github.com https://github.com/openssl/openssl/commit/d5f8e71cd0a54e961d0c3b174348f8308486f790
- github.com https://github.com/openssl/openssl/commit/eed200f58cd8645ed77e46b7e9f764e284df379e
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-31790.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-500005.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-31790
- openssl-library.org https://openssl-library.org/news/secadv/20260407.txt
- ubuntu.com https://ubuntu.com/security/notices/USN-8155-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-31790
- www.openwall.com https://www.openwall.com/lists/oss-security/2026/04/07/11
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.