CVE-2026-31790
published high CVSS 3.1 · 7.5Incorrect Failure Handling in RSA KEM RSASVE Encapsulation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenSSL | — | OpenSSL3.6.0 to < 3.6.2 · 3.5.0 to < 3.5.6 · 3.4.0 to < 3.4.5 · 3.3.0 to < 3.3.7 · 3.0.0 to < 3.0.20 · Other versions: unaffected | Affected | Not stated | openssl |
| Siemens | — | SIMATIC CN 41000 to < V5.0 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1586 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | edk2-aarch64 | Advisory build | 20251114-5.el10_2.2 | ALSA-2026:39297 |
| Alpine Linux | edge | openssl | Fixed | 3.5.6-r0 | Package fix record |
| Debian | bookworm | openssl | Advisory build | 3.0.19-1~deb12u2 | DSA-6201-1 |
| Oracle Linux | 10 | edk2-aarch64aarch64 | Advisory build | 0:20251114-5.0.1.el10_2.2 | ELSA-2026-39297 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-10 | edk2src | Advisory build | 20251114-5.el10_2.2 | RHSA-2026:39297 |
| AlmaLinux | 10 | edk2-ovmf | Advisory build | 20251114-5.el10_2.2 | ALSA-2026:39297 |
| AlmaLinux | 10 | edk2-tools-doc | Advisory build | 20251114-5.el10_2.2 | ALSA-2026:39297 |
| AlmaLinux | 10 | openssl | Advisory build | 1:3.5.5-2.el10_2.alma.1 | ALSA-2026:19066 |
| AlmaLinux | 10 | openssl-devel | Advisory build | 1:3.5.5-2.el10_2.alma.1 | ALSA-2026:19066 |
| AlmaLinux | 10 | openssl-libs | Advisory build | 1:3.5.5-2.el10_2.alma.1 | ALSA-2026:19066 |
| AlmaLinux | 10 | openssl-perl | Advisory build | 1:3.5.5-2.el10_2.alma.1 | ALSA-2026:19066 |
| AlmaLinux | 9 | openssl | Advisory build | 1:3.5.5-2.el9_8 | ALSA-2026:19218 |
| AlmaLinux | 9 | openssl-devel | Advisory build | 1:3.5.5-2.el9_8 | ALSA-2026:19218 |
| AlmaLinux | 9 | openssl-libs | Advisory build | 1:3.5.5-2.el9_8 | ALSA-2026:19218 |
| AlmaLinux | 9 | openssl-perl | Advisory build | 1:3.5.5-2.el9_8 | ALSA-2026:19218 |
| Alpine Linux | v3.20 | openssl | Fixed | 3.3.7-r0 | Package fix record |
| Alpine Linux | v3.21 | openssl | Fixed | 3.3.7-r0 | Package fix record |
| Alpine Linux | v3.22 | openssl | Fixed | 3.5.6-r0 | Package fix record |
| Alpine Linux | v3.23 | openssl | Fixed | 3.5.6-r0 | Package fix record |
| Alpine Linux | v3.24 | openssl | Fixed | 3.5.6-r0 | Package fix record |
| Debian | trixie | openssl | Advisory build | 3.5.5-1~deb13u2 | DSA-6201-1 |
| Oracle Linux | 10 | edk2-aarch64x86_64 | Advisory build | 0:20251114-5.0.1.el10_2.2 | ELSA-2026-39297 |
| Oracle Linux | 10 | edk2-ovmfaarch64 | Advisory build | 0:20251114-5.0.1.el10_2.2 | ELSA-2026-39297 |
| Oracle Linux | 10 | edk2-ovmfx86_64 | Advisory build | 0:20251114-5.0.1.el10_2.2 | ELSA-2026-39297 |
| Oracle Linux | 10 | edk2-toolsaarch64 | Advisory build | 0:20251114-5.0.1.el10_2.2 | ELSA-2026-39297 |
| Oracle Linux | 10 | edk2-toolsx86_64 | Advisory build | 0:20251114-5.0.1.el10_2.2 | ELSA-2026-39297 |
| Oracle Linux | 10 | edk2-tools-docaarch64 | Advisory build | 0:20251114-5.0.1.el10_2.2 | ELSA-2026-39297 |
| Oracle Linux | 10 | edk2-tools-docx86_64 | Advisory build | 0:20251114-5.0.1.el10_2.2 | ELSA-2026-39297 |
| Oracle Linux | 10 | opensslaarch64 | Advisory build | 1:3.5.5-2.0.1.el10_2 | ELSA-2026-19066 |
| Oracle Linux | 10 | opensslaarch64 | Advisory build | 2:3.5.5-2.0.1.ksplice1.el10_2 | ELSA-2026-500005 |
| Oracle Linux | 10 | opensslx86_64 | Advisory build | 1:3.5.5-2.0.1.el10_2 | ELSA-2026-19066 |
| Oracle Linux | 10 | opensslx86_64 | Advisory build | 2:3.5.5-2.0.1.ksplice1.el10_2 | ELSA-2026-500005 |
| Oracle Linux | 10 | openssl-develaarch64 | Advisory build | 1:3.5.5-2.0.1.el10_2 | ELSA-2026-19066 |
| Oracle Linux | 10 | openssl-develaarch64 | Advisory build | 2:3.5.5-2.0.1.ksplice1.el10_2 | ELSA-2026-500005 |
| Oracle Linux | 10 | openssl-develx86_64 | Advisory build | 1:3.5.5-2.0.1.el10_2 | ELSA-2026-19066 |
| Oracle Linux | 10 | openssl-develx86_64 | Advisory build | 2:3.5.5-2.0.1.ksplice1.el10_2 | ELSA-2026-500005 |
| Oracle Linux | 10 | openssl-fips-provideraarch64 | Advisory build | 0:3.0.7-11.0.1.el10_2 | ELSA-2026-27746 |
| Oracle Linux | 10 | openssl-fips-providerx86_64 | Advisory build | 0:3.0.7-11.0.1.el10_2 | ELSA-2026-27746 |
| Oracle Linux | 10 | openssl-fips-provider-soaarch64 | Advisory build | 0:3.0.7-11.0.1.el10_2 | ELSA-2026-27746 |
| Oracle Linux | 10 | openssl-fips-provider-sox86_64 | Advisory build | 0:3.0.7-11.0.1.el10_2 | ELSA-2026-27746 |
| Oracle Linux | 10 | openssl-libsaarch64 | Advisory build | 1:3.5.5-2.0.1.el10_2 | ELSA-2026-19066 |
| Oracle Linux | 10 | openssl-libsaarch64 | Advisory build | 2:3.5.5-2.0.1.ksplice1.el10_2 | ELSA-2026-500005 |
| Oracle Linux | 10 | openssl-libsx86_64 | Advisory build | 1:3.5.5-2.0.1.el10_2 | ELSA-2026-19066 |
| Oracle Linux | 10 | openssl-libsx86_64 | Advisory build | 2:3.5.5-2.0.1.ksplice1.el10_2 | ELSA-2026-500005 |
| Oracle Linux | 10 | openssl-perlaarch64 | Advisory build | 1:3.5.5-2.0.1.el10_2 | ELSA-2026-19066 |
| Oracle Linux | 10 | openssl-perlaarch64 | Advisory build | 2:3.5.5-2.0.1.ksplice1.el10_2 | ELSA-2026-500005 |
| Oracle Linux | 10 | openssl-perlx86_64 | Advisory build | 1:3.5.5-2.0.1.el10_2 | ELSA-2026-19066 |
| Oracle Linux | 10 | openssl-perlx86_64 | Advisory build | 2:3.5.5-2.0.1.ksplice1.el10_2 | ELSA-2026-500005 |
| Oracle Linux | 9 | opensslaarch64 | Advisory build | 1:3.5.5-2.0.1.el9_8 | ELSA-2026-19218 |
| Oracle Linux | 9 | opensslx86_64 | Advisory build | 1:3.5.5-2.0.1.el9_8 | ELSA-2026-19218 |
| Oracle Linux | 9 | openssl-develaarch64 | Advisory build | 1:3.5.5-2.0.1.el9_8 | ELSA-2026-19218 |
| Oracle Linux | 9 | openssl-develx86_64 | Advisory build | 1:3.5.5-2.0.1.el9_8 | ELSA-2026-19218 |
| Oracle Linux | 9 | openssl-fips-provideraarch64 | Advisory build | 0:3.0.7-11.0.1.el9_8 | ELSA-2026-27744 |
| Oracle Linux | 9 | openssl-fips-providerx86_64 | Advisory build | 0:3.0.7-11.0.1.el9_8 | ELSA-2026-27744 |
| Oracle Linux | 9 | openssl-fips-provider-soaarch64 | Advisory build | 0:3.0.7-11.0.1.el9_8 | ELSA-2026-27744 |
| Oracle Linux | 9 | openssl-fips-provider-sox86_64 | Advisory build | 0:3.0.7-11.0.1.el9_8 | ELSA-2026-27744 |
| Oracle Linux | 9 | openssl-libsaarch64 | Advisory build | 1:3.5.5-2.0.1.el9_8 | ELSA-2026-19218 |
| Oracle Linux | 9 | openssl-libsx86_64 | Advisory build | 1:3.5.5-2.0.1.el9_8 | ELSA-2026-19218 |
| Oracle Linux | 9 | openssl-perlaarch64 | Advisory build | 1:3.5.5-2.0.1.el9_8 | ELSA-2026-19218 |
| Oracle Linux | 9 | openssl-perlx86_64 | Advisory build | 1:3.5.5-2.0.1.el9_8 | ELSA-2026-19218 |
| Red Hat Enterprise Linux | RHEL-10 | edk2-aarch64noarch | Advisory build | 20251114-5.el10_2.2 | RHSA-2026:39297 |
| Red Hat Enterprise Linux | RHEL-10 | edk2-debugsourceaarch64 | Advisory build | 20251114-5.el10_2.2 | RHSA-2026:39297 |
| Red Hat Enterprise Linux | RHEL-10 | edk2-debugsourcex86_64 | Advisory build | 20251114-5.el10_2.2 | RHSA-2026:39297 |
| Red Hat Enterprise Linux | RHEL-10 | edk2-ovmfnoarch | Advisory build | 20251114-5.el10_2.2 | RHSA-2026:39297 |
| Red Hat Enterprise Linux | RHEL-10 | edk2-toolsaarch64 | Advisory build | 20251114-5.el10_2.2 | RHSA-2026:39297 |
| Red Hat Enterprise Linux | RHEL-10 | edk2-toolsx86_64 | Advisory build | 20251114-5.el10_2.2 | RHSA-2026:39297 |
| Red Hat Enterprise Linux | RHEL-10 | edk2-tools-debuginfoaarch64 | Advisory build | 20251114-5.el10_2.2 | RHSA-2026:39297 |
| Red Hat Enterprise Linux | RHEL-10 | edk2-tools-debuginfox86_64 | Advisory build | 20251114-5.el10_2.2 | RHSA-2026:39297 |
| Red Hat Enterprise Linux | RHEL-10 | edk2-tools-docnoarch | Advisory build | 20251114-5.el10_2.2 | RHSA-2026:39297 |
| Red Hat Enterprise Linux | RHEL-10 | opensslaarch64 | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | opensslaarch64 | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | opensslppc64le | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | opensslppc64le | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | openssls390x | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | openssls390x | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | opensslsrc | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | opensslsrc | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | opensslx86_64 | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | opensslx86_64 | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debuginfoaarch64 | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debuginfoaarch64 | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debuginfoppc64le | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debuginfoppc64le | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debuginfos390x | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debuginfos390x | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debuginfox86_64 | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debuginfox86_64 | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debugsourceaarch64 | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debugsourceaarch64 | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debugsourceppc64le | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debugsourceppc64le | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debugsources390x | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debugsources390x | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debugsourcex86_64 | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-debugsourcex86_64 | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-develaarch64 | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-develaarch64 | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-develppc64le | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-develppc64le | Advisory build | 1:3.5.5-2.el10_2 | RHSA-2026:19066 |
| Red Hat Enterprise Linux | RHEL-10 | openssl-devels390x | Advisory build | 1:3.2.2-16.el10_0.7 | RHSA-2026:71542 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenSSL | OpenSSL | 3.6.0 to < 3.6.2 (affected · semver)3.5.0 to < 3.5.6 (affected · semver)3.4.0 to < 3.4.5 (affected · semver)3.3.0 to < 3.3.7 (affected · semver)3.0.0 to < 3.0.20 (affected · semver)Default: unaffected | openssl · cna |
| Siemens | SIMATIC CN 4100 | 0 to < V5.0 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-754 CWE-754 Improper Check for Unusual or Exceptional Conditions
References
7- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
- 3.5.6 git commit https://github.com/openssl/openssl/commit/001e01db3e996e13ffc72386fe79d03a6683b5ac
- 3.6.2 git commit https://github.com/openssl/openssl/commit/abd8b2eec7e3f3fda60ecfb68498b246b52af482
- 3.3.7 git commit https://github.com/openssl/openssl/commit/b922e24e5b23ffb9cb9e14cadff23d91e9f7e406
- 3.4.5 git commit https://github.com/openssl/openssl/commit/d5f8e71cd0a54e961d0c3b174348f8308486f790
- 3.0.20 git commit https://github.com/openssl/openssl/commit/eed200f58cd8645ed77e46b7e9f764e284df379e
- OpenSSL Advisory https://openssl-library.org/news/secadv/20260407.txt
Provider assertions
3openssl · cna
Incorrect Failure Handling in RSA KEM RSASVE Encapsulation
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d1150564e0b52d98adb6521c2d53007de2d741a6ece3decfd3d8af2e5f9a5d59
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record