CVE-2026-31790 json
Incorrect Failure Handling in RSA KEM RSASVE Encapsulation
published 2026-04-07 7 mo ago modified 2026-08-13 2 mo ago also EUVD-2026-19969 , GHSA-vgxx-5xj5-q97x , JLSEC-2026-277
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia AppBundler 1.0.1
- julia OpenSSL_jll 3.0.20+0, 3.5.6+0
- OpenSSL OpenSSL 3.0.20, 3.3.7, 3.4.5, 3.5.6, 3.6.2
- Siemens SIMATIC CN 4100 V5.0
- openssl Debian 12 3.0.19-1~deb12u2
- openssl Debian 13 3.5.5-1~deb13u2
- openssl Debian 14 3.6.2-1
debian advisories DEBIAN-CVE-2026-31790
- openssl Ubuntu 22.04 LTS 3.0.2-0ubuntu1.23
- openssl Ubuntu 24.04 LTS 3.0.13-0ubuntu3.9
- openssl Ubuntu 25.10 3.5.3-1ubuntu3.3
- openssl Ubuntu 26.10, Ubuntu 26.04 LTS 3.5.5-1ubuntu3
- openssl-fips Ubuntu Pro FIPS-updates 24.04 LTS 3.0.13-0ubuntu3.12+Fips1
ubuntu advisories UBUNTU-CVE-2026-31790
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- edk2 RHEL 10.2 20251114-5.el10_2.2
- edk2-ovmf RHEL 10.2 20251114-5.el10_2.2
- edk2-tools RHEL 10.2 20251114-5.el10_2.2
- edk2-aarch64 RHEL 10.2 20251114-5.el10_2.2
- openssl-fips-provider hummingbird 1 3.0.7-1.2.hum1
- openssl-fips-provider-so hummingbird 1 3.0.7-1.2.hum1
- openssl-fips-provider RHEL 9 3.0.7-11.el9_8
- openssl-fips-provider-so RHEL 9 3.0.7-11.el9_8
red hat advisories RHSA-2026:84573RHSA-2026:84572RHSA-2026:83617RHSA-2026:71542RHSA-2026:39297RHSA-2026:28832
- openssl-3 SLE Module for Basesystem 15 SP7 3.2.3-150700.5.31.1
- openssl-3 SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 3.5.0-160000.7.1
- openssl-1_0_0 SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +7 more 1.0.2p-150000.3.105.1
- openssl-1_1 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +3 more 1.1.1l-150400.7.90.1
- openssl-3 Linux Micro 6.0 3.1.4-12.1
- openssl-3 Linux Micro 6.1 3.1.4-slfo.1.1_9.1
- openssl-1_1 SLE Micro 5.2 1.1.1d-150200.11.109.1
- openssl-3 SLES for SAP 15 SP6, SLES 15 SP6-LTSS, openSUSE Leap 15.6 3.1.4-150600.5.45.1
suse advisories SUSE-SU-2026:1375-1SUSE-SU-2026:21107-1SUSE-SU-2026:21186-1SUSE-SU-2026:1291-1SUSE-SU-2026:1257-1SUSE-SU-2026:1256-1
- openssl-3 openSUSE Leap 16.0 3.5.0-160000.7.1
- openssl-3 openSUSE Tumbleweed 3.5.3-4.1
opensuse advisories openSUSE-SU-2026:20525-1openSUSE-SU-2026:10533-1
- edk2-ovmf AlmaLinux 10 20251114-5.el10_2.2
- edk2-tools AlmaLinux 10 20251114-5.el10_2.2
- edk2-aarch64 AlmaLinux 10 20251114-5.el10_2.2
- openssl AlmaLinux 10 1:3.5.5-2.el10_2.alma.1
- openssl-libs AlmaLinux 10 1:3.5.5-2.el10_2.alma.1
- openssl-perl AlmaLinux 10 1:3.5.5-2.el10_2.alma.1
- openssl AlmaLinux 9 1:3.5.5-2.el9_8
- openssl-libs AlmaLinux 9 1:3.5.5-2.el9_8
almalinux advisories ALSA-2026:39297ALSA-2026:19066ALSA-2026:19218
- edk2 Rocky Linux 10 20251114-5.el10_2.2
- openssl Rocky Linux 10 1:3.5.5-2.el10_2
- openssl Rocky Linux 9 1:3.5.5-2.el9_8
rocky linux advisories RLSA-2026:39297RLSA-2026:19066RLSA-2026:19218
- openssl Alpine 3.21, Alpine 3.20 3.3.7-r0
- openssl Alpine 3.24, Alpine 3.23, Alpine 3.22 3.5.6-r0
alpine advisories ALPINE-CVE-2026-31790
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-31790 updated cvss 5.9
openssl: openssl: Information Disclosure from Uninitialized Memory via Invalid RSA Public Key
-
Red Hat Enterprise Linux 9 edk2, edk2-ovmf, edk2-tools, edk2-aarch64affected: workaround, no fix available
-
Red Hat OpenShift Container Platform 4 openshift4/ose-hypershift-rhel9affected: workaround, no fix available “Fix deferred”
-
Red Hat Cert Manager support for Red Hat OpenShift release 1.17 cert-manager/cert-manager-operator-rhel9 1791788287, cert-manager/jetstack-cert-manager-rhel9 1791371069, cert-manager/cert-manager-operator-bundle 1791970484, cert-manager/jetstack-cert-manager-acmesolver-rhel9 1791371080fixed: vendor fix RHSA-2026:82888
-
Red Hat Cert Manager support for Red Hat OpenShift release 1.18 cert-manager/cert-manager-operator-rhel9 1789029076, cert-manager/jetstack-cert-manager-rhel9 1791459711, cert-manager/cert-manager-istio-csr-rhel9 1791459759, cert-manager/cert-manager-operator-bundle 1791966259, cert-manager/jetstack-cert-manager-acmesolver-rhel9 1791459707fixed: vendor fix RHSA-2026:82354
-
Red Hat Cert Manager support for Red Hat OpenShift release 1.20 cert-manager/cert-manager-trust-manager-rhel9 1790598593fixed: vendor fix RHSA-2026:72502
-
Red Hat Cost Management 4 costmanagement/costmanagement-metrics-rhel9-operator 1780946239, costmanagement/costmanagement-metrics-rhel9-operator 1783539156fixed: vendor fix RHSA-2026:39981
-
Red Hat Discovery 2 discovery/discovery-ui-rhel9 1782756541, discovery/discovery-server-rhel9 1782763840fixed: vendor fix RHSA-2026:33313
-
Red Hat Enterprise Linux AppStream (v. 9) openssl-perl 3.5.5-2.el9_8fixed: vendor fix RHSA-2026:19218
show 25 moreshow fewer
-
Red Hat Enterprise Linux AppStream (v. 10) edk2 20251114-5.el10_2.2, openssl-perl 3.5.5-2.el10_2, edk2-ovmf 20251114-5.el10_2.2, edk2-aarch64 20251114-5.el10_2.2fixed: vendor fix RHSA-2026:39297
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) openssl-debuginfo 3.0.7-18.el9_2.4, openssl-debugsource 3.0.7-18.el9_2.4fixed: vendor fix RHSA-2026:84572
-
Red Hat Enterprise Linux AppStream E4S (v.9.4) openssl-debuginfo 3.0.7-29.el9_4.3, openssl-debugsource 3.0.7-29.el9_4.3, openssl-libs-debuginfo 3.0.7-29.el9_4.3fixed: vendor fix RHSA-2026:84573
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) openssl-perl 3.2.2-16.el10_0.7fixed: vendor fix RHSA-2026:71542
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) openssl-perl 3.2.2-7.el9_6.4fixed: vendor fix RHSA-2026:83617
-
Red Hat Enterprise Linux BaseOS (v. 9) openssl 3.5.5-2.el9_8, openssl-libs 3.5.5-2.el9_8, openssl-fips-provider 3.0.7-11.el9_8, openssl-fips-provider-so 3.0.7-11.el9_8fixed: vendor fix RHSA-2026:19218
-
Red Hat Enterprise Linux BaseOS (v. 10) openssl 3.5.5-2.el10_2, openssl-libs 3.5.5-2.el10_2, openssl-fips-provider 3.0.7-11.el10_2, openssl-fips-provider-so 3.0.7-11.el10_2fixed: vendor fix RHSA-2026:19066
-
Red Hat Enterprise Linux BaseOS E4S (v.9.2) openssl 3.0.7-18.el9_2.4, openssl-libs 3.0.7-18.el9_2.4, openssl-fips-provider 3.0.7-11.el9_0, openssl-fips-provider-so 3.0.7-11.el9_0fixed: vendor fix RHSA-2026:84572
-
Red Hat Enterprise Linux BaseOS E4S (v.9.4) openssl 3.0.7-29.el9_4.3, openssl-libs 3.0.7-29.el9_4.3, openssl-fips-provider 3.0.7-11.el9_0, openssl-fips-provider-so 3.0.7-11.el9_0fixed: vendor fix RHSA-2026:84573
-
Red Hat Enterprise Linux BaseOS EUS (v. 10.0) openssl 3.2.2-16.el10_0.7, openssl-libs 3.2.2-16.el10_0.7, openssl-fips-provider 3.0.7-11.el10_0, openssl-fips-provider-so 3.0.7-11.el10_0fixed: vendor fix RHSA-2026:71542
-
Red Hat Enterprise Linux BaseOS EUS (v.9.6) openssl 3.2.2-7.el9_6.4, openssl-libs 3.2.2-7.el9_6.4, openssl-fips-provider 3.0.7-11.el9_0, openssl-fips-provider-so 3.0.7-11.el9_0fixed: vendor fix RHSA-2026:83617
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) edk2-ovmf 20251114-5.el10_2.2, edk2-tools 20251114-5.el10_2.2, edk2-aarch64 20251114-5.el10_2.2fixed: vendor fix RHSA-2026:39297
-
Red Hat Hardened Images openssl 3.5.6-0.1.hum1, openssl-libs 3.5.6-0.1.hum1, openssl-perl 3.5.6-0.1.hum1, openssl-config-fips 3.5.6-0.1.hum1, openssl-devel-engine 3.5.6-0.1.hum1, openssl-fips-provider 3.0.7-1.2.hum1, +1 morefixed: vendor fix RHSA-2026:7261
-
Red Hat Insights proxy 1.5 insights-proxy/insights-proxy-container-rhel9 1780420428, insights-proxy/insights-proxy-container-rhel9 1782890503fixed: vendor fix RHSA-2026:22634
-
Red Hat JBoss Core Services 2.4.62.SP4fixed: vendor fix RHSA-2026:27201
-
Red Hat JBoss Web Server 6.2.2fixed: vendor fix RHSA-2026:12195
-
Red Hat OpenShift AI 3.0 rhai/base-image-cpu-rhel9 1793042072, rhai/base-image-cpu-rhel9 1793329709, rhai/base-image-tpu-rhel9 1793041987, rhai/base-image-cuda-rhel9 1793042067, rhai/base-image-cuda-rhel9 1793328358, rhai/base-image-rocm-rhel9 1793041981, +1 morefixed: vendor fix RHSA-2026:94459
-
Red Hat OpenShift AI 3.4 rhai/base-image-cpu-rhel9 1793042088, rhai/base-image-tpu-rhel9 1793042006, rhai/base-image-gaudi-rhel9 1793042011, rhai/base-image-spyre-rhel9 1793042074, rhai/base-image-neuron-rhel9 1790703542, rhai/base-image-neuron-rhel9 1793042008, +5 morefixed: vendor fix RHSA-2026:91241
-
Red Hat OpenShift AI 3.5 rhai/base-image-cpu-rhel9 1793042162, rhai/base-image-tpu-rhel9 1793042010, rhai/base-image-gaudi-rhel9 1793042004, rhai/base-image-rubin-rhel9 1793042092, rhai/base-image-spyre-rhel9 1793042114, rhai/base-image-neuron-rhel9 1793042008, +4 morefixed: vendor fix RHSA-2026:91204
-
Red Hat OpenShift Container Platform 4.13 rhcos 413.92.202608111330fixed: vendor fix RHSA-2026:54187
-
Red Hat OpenShift Container Platform 4.14 rhcos 414.92.202607210313fixed: vendor fix RHSA-2026:43252
-
Red Hat OpenShift Container Platform 4.15 rhcos 415.92.202607210244fixed: vendor fix RHSA-2026:43226
-
Red Hat OpenShift Container Platform 4.19 rhcos 4.19.9.6.202607220857fixed: vendor fix RHSA-2026:44231
-
Red Hat Update Infrastructure 5 rhui5/cds-rhel9 1779798159, rhui5/cds-rhel9 1784794778, rhui5/rhua-rhel9 1779798222, rhui5/rhua-rhel9 1784795076, rhui5/haproxy-rhel9 1779798164, rhui5/haproxy-rhel9 1784795112, +6 morefixed: vendor fix RHSA-2026:44481
-
Red Hat Cost Management 4 costmanagement/costmanagement-metrics-operator-bundle 1780989656, costmanagement/costmanagement-metrics-operator-bundle 1783613222 Red Hat Enterprise Linux 6 openssl, openssl-perl Red Hat Enterprise Linux 7 ovmf, OVMF, AAVMF, openssl, openssl-libs, openssl-perl Red Hat Enterprise Linux 8 edk2, shim, openssl, shim-x64, edk2-ovmf, shim-aa64, +9 more Red Hat Enterprise Linux 9 shim, shim-x64, shim-aa64, compat-openssl11, shim-unsigned-x64, shim-unsigned-aarch64 Red Hat Enterprise Linux 10 shim, shim-unsigned-x64, shim-unsigned-aarch64not affected: vulnerable code not present
+2 more productsfewer
Red Hat Enterprise Linux AppStream E4S (v.9.2) openssl-perl 3.0.7-18.el9_2.4 Red Hat Enterprise Linux AppStream E4S (v.9.4) openssl-perl 3.0.7-29.el9_4.3
7 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-134-10 updated cvss 7.5
Siemens SIMATIC
-
Siemens SIMATIC CN 4100 < 5.0affected: fixed in V5.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
1.05% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | AppBundler | >=1.0.0, <1.0.1 |
1.0.1 |
| julia | OpenSSL_jll | >=3.0.8+0, <3.0.20+0 >=3.5.0+0, <3.5.6+0 |
3.0.20+0 3.5.6+0 |
| julia | Openresty_jll | >=1.27.1+0 |
no fix listed |
Affected products
- OpenSSL OpenSSL
- Siemens SIMATIC CN 4100
Classification
- Weakness
-
- CWE-754 Improper Check for Unusual or Exceptional Conditions
- Technology feeds
References
-
github.com
/openssl/openssl/commit/abd8b2eec7e3f3fda60ecfb68498b246b52af482
patch, web
-
github.com
/openssl/openssl/commit/001e01db3e996e13ffc72386fe79d03a6683b5ac
patch, web
-
github.com
/openssl/openssl/commit/d5f8e71cd0a54e961d0c3b174348f8308486f790
patch, web
-
github.com
/openssl/openssl/commit/b922e24e5b23ffb9cb9e14cadff23d91e9f7e406
patch, web
-
github.com
/openssl/openssl/commit/eed200f58cd8645ed77e46b7e9f764e284df379e
patch, web
-
openssl-library.org
/news/secadv/20260407.txt
vendor-advisory, web
-
cert-portal.siemens.com
/productcert/html/ssa-032379.html
web
-
github.com
/advisories/GHSA-vgxx-5xj5-q97x
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-31790
web
Sources
- CVE List CVE-2026-31790
- NVD CVE-2026-31790
- OSV JLSEC-2026-277
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.