Home / OpenSSL / OpenSSL / CVE-2026-31790
CVE-2026-31790: is it exploited, and which versions of OpenSSL are affected and fixed?
CVE-2026-31790 is an unusual condition not checked vulnerability in OpenSSL. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: OpenSSL from 3.6.0 before 3.6.2, OpenSSL from 3.5.0 before 3.5.6, OpenSSL from 3.4.0 before 3.4.5 and 2 more (CVE record by openssl). Fixed in 3.6.2, 3.5.6, 3.4.5, 3.3.7 and 1 more (CVE record by openssl). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-31790?
Incorrect Failure Handling in RSA KEM RSASVE Encapsulation
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.
From the CVE record by openssl, last updated May 12, 2026, 12:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenSSL | OpenSSL | from 3.6.0 before 3.6.2 from 3.5.0 before 3.5.6 from 3.4.0 before 3.4.5 from 3.3.0 before 3.3.7 from 3.0.0 before 3.0.20 | 3.6.2, 3.5.6, 3.4.5, 3.3.7, 3.0.20 |
As the CVE record by openssl states it, last updated May 12, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openssl | openssl | from 3.0.0 before 3.0.20 | application |
| openssl | openssl | from 3.3.0 before 3.3.7 | application |
| openssl | openssl | from 3.4.0 before 3.4.5 | application |
| openssl | openssl | from 3.5.0 before 3.5.6 | application |
| openssl | openssl | from 3.6.0 before 3.6.2 | application |
NVD analysis (status Modified), last modified July 24, 2026, 23:10 UTC.
How severe is CVE-2026-31790?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-31790 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, April 8, 2026)
- EPSS
- 0.99% probability of exploitation activity in the next 30 days, percentile 63.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-754 Improper Check for Unusual or Exceptional Conditions
Where are the vendor advisories and references?
- OpenSSL Advisory vendor-advisory
- 3.6.2 git commit patch
- 3.5.6 git commit patch
- 3.4.5 git commit patch
- 3.3.7 git commit patch
- 3.0.20 git commit patch
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
Who found and reported it?
- Simo Sorce (Red Hat) (reporter)
- Nikola Pajkovsky (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 9, 2026
- Published
- April 7, 2026, 22:00 UTC
- CVE record updated
- May 12, 2026, 12:09 UTC by openssl
- NVD
- Modified, last modified July 24, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect OpenSSL?
- Apr 7, 2014CVE-2014-0160 Openssl: out-of-bounds read exploited
- Dec 1, 2026CVE-2026-123780 OpenSSL: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-120667 OpenSSL: out-of-bounds write (memory corruption)
- Dec 1, 2026CVE-2026-120666 OpenSSL: data authenticity not verified
- Dec 1, 2026CVE-2026-120665 OpenSSL: improper certificate validation
- Nov 24, 2026CVE-2026-84785 OpenSSL: denial of service (resources allocated without limits)
- Nov 18, 2026CVE-2026-95690 OpenSSL: denial of service (resources allocated without limits)
- Nov 18, 2026CVE-2026-84786 OpenSSL: NULL pointer dereference (crash)
Questions about CVE-2026-31790
Is CVE-2026-31790 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.99% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of OpenSSL are affected by CVE-2026-31790?
OpenSSL from 3.6.0 before 3.6.2, OpenSSL from 3.5.0 before 3.5.6, OpenSSL from 3.4.0 before 3.4.5, OpenSSL from 3.3.0 before 3.3.7 and OpenSSL from 3.0.0 before 3.0.20, per the CVE record by openssl. The tables above give every range the sources list.
Which version fixes CVE-2026-31790?
3.6.2, 3.5.6, 3.4.5, 3.3.7 and 3.0.20, per the CVE record by openssl. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-31790?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-31790?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.