cve.bz

CVE-2026-31790 openssl openssl

7.5 highEPSS 1.0%Fix available

High (7.5) in openssl openssl. EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-754 Improper Check for Unusual or Exceptional Conditions
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-31790 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-31790?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-31790?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-31790 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenSSLfrom 3.6.0 before 3.6.2
OpenSSLfrom 3.5.0 before 3.5.6
OpenSSLfrom 3.4.0 before 3.4.5
OpenSSLfrom 3.3.0 before 3.3.7
OpenSSLfrom 3.0.0 before 3.0.20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12openssl3.0.19-1~deb12u2DEBIAN-CVE-2026-31790 DSA-6201-1
Debian13openssl3.5.5-1~deb13u2DEBIAN-CVE-2026-31790 DSA-6201-1
Debian14openssl3.6.2-1DEBIAN-CVE-2026-31790
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.23UBUNTU-CVE-2026-31790
Ubuntu24.04:LTSopenssl3.0.13-0ubuntu3.9UBUNTU-CVE-2026-31790
Ubuntu24.04:LTS, 25.10edk2no fix listedUBUNTU-CVE-2026-31790
Ubuntu25.10openssl3.5.3-1ubuntu3.3UBUNTU-CVE-2026-31790
Ubuntu26.04:LTS, 26.10edk2, edk2-hweno fix listedUBUNTU-CVE-2026-31790
Ubuntu26.04:LTS, 26.10openssl3.5.5-1ubuntu3UBUNTU-CVE-2026-31790
UbuntuPro:FIPS-preview:22.04:LTS, Pro:FIPS-updates:22.04:LTSopenssl, openssl-fipsno fix listedUBUNTU-CVE-2026-31790
UbuntuPro:FIPS-updates:24.04:LTSopenssl-fips3.0.13-0ubuntu3.12+Fips1UBUNTU-CVE-2026-31790
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.5.5-2.el9_8RHSA-2026:19218
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.5.5-2.el9_8RHSA-2026:19218
Red Hatenterprise_linux:9::baseosopenssl-fips-provider, openssl-fips-provider-so, openssl-fips-provider-so-debuginfo and 1 more0:3.0.7-11.el9_8RHSA-2026:27744
Red Hatenterprise_linux:10.2edk2, edk2-ovmf, edk2-tools and 4 more0:20251114-5.el10_2.2RHSA-2026:39297
Red Hatenterprise_linux:10.2openssl, openssl-libs, openssl-perl and 4 more1:3.5.5-2.el10_2RHSA-2026:19066
Red Hatenterprise_linux:10.2openssl-fips-provider, openssl-fips-provider-so, openssl-fips-provider-so-debuginfo and 1 more0:3.0.7-11.el10_2RHSA-2026:27746
Red Hatenterprise_linux_eus:10.0openssl, openssl-libs, openssl-perl and 3 more1:3.2.2-16.el10_0.7RHSA-2026:71542
Red Hatenterprise_linux_eus:10.0openssl-fips-provider, openssl-fips-provider-so, openssl-fips-provider-so-debuginfo and 1 more0:3.0.7-11.el10_0RHSA-2026:27745
Red Hathummingbird:1openssl, openssl-libs, openssl-perl and 3 more0:3.5.6-0.1.hum1RHSA-2026:7261
Red Hathummingbird:1openssl-fips-provider, openssl-fips-provider-so0:3.0.7-1.2.hum1RHSA-2026:28211
Red Hatrhel_e4s:9.2::appstreamopenssl-debuginfo, openssl-debugsource1:3.0.7-18.el9_2.4RHSA-2026:84572
Red Hatrhel_e4s:9.2::baseosopenssl, openssl-libs, openssl-debuginfo and 1 more1:3.0.7-18.el9_2.4RHSA-2026:84572
5 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 moreopenssl-1_11.1.1l-150400.7.90.1SUSE-SU-2026:1257-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 3 moreopenssl-33.0.8-150400.4.81.1SUSE-SU-2026:1214-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Legacy 15 SP7 and 6 moreopenssl-1_0_01.0.2p-150000.3.105.1SUSE-SU-2026:1291-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 moreopenssl-33.0.8-150500.5.60.1SUSE-SU-2026:1213-1
SUSELinux Enterprise Micro 5.2openssl-1_11.1.1d-150200.11.109.1SUSE-SU-2026:1216-1
SUSELinux Enterprise Module for Basesystem 15 SP7openssl-33.2.3-150700.5.31.1SUSE-SU-2026:1375-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5openssl-1_0_01.0.2p-3.106.1SUSE-SU-2026:1256-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6openssl-33.1.4-150600.5.45.1SUSE-SU-2026:1215-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0openssl-33.5.0-160000.7.1SUSE-SU-2026:21186-1
SUSELinux Micro 6.0openssl-33.1.4-12.1SUSE-SU-2026:21065-1
SUSELinux Micro 6.1openssl-33.1.4-slfo.1.1_9.1SUSE-SU-2026:21037-1
SUSELinux Micro 6.2openssl-33.5.0-160000.7.1SUSE-SU-2026:21107-1
openSUSELeap 15.6openssl-1_0_01.0.2p-150000.3.105.1SUSE-SU-2026:1291-1
openSUSELeap 15.6openssl-33.1.4-150600.5.45.1SUSE-SU-2026:1215-1
openSUSELeap 16.0openssl-33.5.0-160000.7.1openSUSE-SU-2026:20525-1
openSUSETumbleweedopenssl-33.5.3-4.1openSUSE-SU-2026:10533-1
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.5.5-2.el9_8ALSA-2026:19218
AlmaLinux10edk2-ovmf, edk2-aarch64, edk2-tools-doc20251114-5.el10_2.2ALSA-2026:39297
AlmaLinux10openssl, openssl-libs, openssl-perl and 1 more1:3.5.5-2.el10_2.alma.1ALSA-2026:19066
Rocky Linux9openssl1:3.5.5-2.el9_8RLSA-2026:19218
Rocky Linux10edk20:20251114-5.el10_2.2RLSA-2026:39297
Rocky Linux10openssl1:3.5.5-2.el10_2RLSA-2026:19066
Alpinev3.20, v3.21openssl3.3.7-r0ALPINE-CVE-2026-31790
Alpinev3.22, v3.23, v3.24openssl3.5.6-r0ALPINE-CVE-2026-31790
Azure Linux3openssl3.3.5-5AZL-81950
Alpaquita23openssl3.0.20-r0BELL-CVE-2026-31790
Alpaquita25, streamopenssl3.5.6-r0BELL-CVE-2026-31790
BellSoft Hardened Containers23openssl3.0.20-r0BELL-CVE-2026-31790
BellSoft Hardened Containers25, streamopenssl3.5.6-r0BELL-CVE-2026-31790

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate impact. This flaw affects applications utilizing RSASVE key encapsulation, where an attacker-supplied invalid RSA public key is used with EVP_PKEY_encapsulate() without prior validation. This can lead to the disclosure of sensitive, uninitialized memory buffer contents to a malicious peer.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10openssl-1:3.5.5-2.el10_2Fixed 2026-05-19RHSA-2026:19066
Red Hat Enterprise Linux 10openssl-fips-provider-0:3.0.7-11.el10_2Fixed 2026-06-22RHSA-2026:27746
Red Hat Enterprise Linux 10edk2-0:20251114-5.el10_2.2Fixed 2026-07-14RHSA-2026:39297
Red Hat Enterprise Linux 10.0 Extended Update Supportopenssl-fips-provider-0:3.0.7-11.el10_0Fixed 2026-06-22RHSA-2026:27745
Red Hat Enterprise Linux 10.0 Extended Update Supportopenssl-1:3.2.2-16.el10_0.7Fixed 2026-09-24RHSA-2026:71542
Red Hat Enterprise Linux 9openssl-1:3.5.5-2.el9_8Fixed 2026-05-19RHSA-2026:19218
Red Hat Enterprise Linux 9openssl-fips-provider-0:3.0.7-11.el9_8Fixed 2026-06-22RHSA-2026:27744
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsopenssl-1:3.0.7-18.el9_2.4Fixed 2026-10-19RHSA-2026:84572
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsopenssl-fips-provider-0:3.0.7-11.el9_0Fixed 2026-06-24RHSA-2026:28832
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionsopenssl-1:3.0.7-29.el9_4.3Fixed 2026-10-19RHSA-2026:84573
Red Hat Enterprise Linux 10shimNot affected
Red Hat Enterprise Linux 10shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 10shim-unsigned-x64Not affected
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8mingw-opensslNot affected
Red Hat Enterprise Linux 8opensslNot affected
76 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-31790.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-134-10Siemens SIMATIC2026-05-12Critical ManufacturingSIMATIC CN 4100none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON