Skip to content
Noroxi
NVD / CVE Program· CNA openssl

CVE-2026-31790: Incorrect Failure Handling in RSA KEM RSASVE Encapsulation

Noroxi assessment

Priority: Monitor (action score 30/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 1% (FIRST EPSS); higher than 64.4% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: OpenSSL OpenSSL 3.0.20, 3.3.7, 3.4.5; azl3 openssl 3.3.5-4 on Azure Linux 3.0 3.3.5-5.

Low priority for now. Upgrade to OpenSSL OpenSSL 3.0.20, 3.3.7, 3.4.5; azl3 openssl 3.3.5-4 on Azure Linux 3.0 3.3.5-5 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Apr 7, 2026
Updated
Jul 24, 2026
EPSS
1.0% · 64th percentile

Report tools

JSON

Action score

30

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.0%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2026-31790

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
opensslopenssl

Check your server's TLS configuration

The OpenSSL version can't be seen from outside; the free SSL checker tests your certificate, enabled TLS versions and weak ciphers. Confirm the version on your server with the package manager.

Run the SSL check

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • openssl openssl3.0.0 and later · before 3.0.20
  • openssl openssl3.3.0 and later · before 3.3.7
  • openssl openssl3.4.0 and later · before 3.4.5
  • openssl openssl3.5.0 and later · before 3.5.6
  • openssl openssl3.6.0 and later · before 3.6.2

Versions reported by the vendor

Affected version ranges reported by the assigning authority (openssl). Independent of NVD's CPE analysis and usually ahead of it.

  • OpenSSL OpenSSL

    • 3.6.0 and later · before 3.6.2affected · semver
    • 3.5.0 and later · before 3.5.6affected · semver
    • 3.4.0 and later · before 3.4.5affected · semver
    • 3.3.0 and later · before 3.3.7affected · semver
    • 3.0.0 and later · before 3.0.20affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:10edk2-aarch64before 20251114-5.el10_2.220251114-5.el10_2.2
AlmaLinux:10edk2-ovmfbefore 20251114-5.el10_2.220251114-5.el10_2.2
AlmaLinux:10edk2-toolsbefore 20251114-5.el10_2.220251114-5.el10_2.2
AlmaLinux:10edk2-tools-docbefore 20251114-5.el10_2.220251114-5.el10_2.2
AlmaLinux:10opensslbefore 1:3.5.5-2.el10_2.alma.11:3.5.5-2.el10_2.alma.1
AlmaLinux:10openssl-develbefore 1:3.5.5-2.el10_2.alma.11:3.5.5-2.el10_2.alma.1
AlmaLinux:10openssl-libsbefore 1:3.5.5-2.el10_2.alma.11:3.5.5-2.el10_2.alma.1
AlmaLinux:10openssl-perlbefore 1:3.5.5-2.el10_2.alma.11:3.5.5-2.el10_2.alma.1
AlmaLinux:9opensslbefore 1:3.5.5-2.el9_81:3.5.5-2.el9_8
AlmaLinux:9openssl-develbefore 1:3.5.5-2.el9_81:3.5.5-2.el9_8
AlmaLinux:9openssl-libsbefore 1:3.5.5-2.el9_81:3.5.5-2.el9_8
AlmaLinux:9openssl-perlbefore 1:3.5.5-2.el9_81:3.5.5-2.el9_8
Alpine:v3.20opensslfrom 3.0.0 · before 3.3.7-r03.3.7-r0
Alpine:v3.22opensslfrom 3.0.0 · before 3.5.6-r03.5.6-r0
Debian:12opensslbefore 3.0.19-1~deb12u23.0.19-1~deb12u2
Debian:13opensslbefore 3.5.5-1~deb13u23.5.5-1~deb13u2
Debian:14opensslbefore 3.6.2-13.6.2-1
openSUSE:Leap 15.6openssl-1_0_0before 1.0.2p-150000.3.105.11.0.2p-150000.3.105.1
openSUSE:Leap 15.6openssl-3before 3.1.4-150600.5.45.13.1.4-150600.5.45.1
openSUSE:Leap 16.0openssl-3before 3.5.0-160000.7.13.5.0-160000.7.1
openSUSE:Tumbleweedopenssl-3before 3.5.3-4.13.5.3-4.1
Red Hat:enterprise_linux_eus:10.0opensslbefore 1:3.2.2-16.el10_0.71:3.2.2-16.el10_0.7
Red Hat:enterprise_linux_eus:10.0openssl-debuginfobefore 1:3.2.2-16.el10_0.71:3.2.2-16.el10_0.7
Red Hat:enterprise_linux_eus:10.0openssl-debugsourcebefore 1:3.2.2-16.el10_0.71:3.2.2-16.el10_0.7

+71

Other highest-scoring records for the same primary product.

  • CVE-2014-0160The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packets, which allows remKEV
    90Now
  • CVE-2021-3711SM2 Decryption Buffer Overflow
    65This week
  • CVE-2003-0545Double free vulnerability in OpenSSL 0.9.7 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code
    65This week

Published before and after this one in the same product

  • ← EarlierCVE-2026-28390Apr 7, 2026 · Possible NULL Dereference When Processing CMS KeyTransportRecipientInfo
    30Monitor
  • ← EarlierCVE-2026-31789Apr 7, 2026 · Heap Buffer Overflow in Hexadecimal Conversion
    39Monitor
  • Later →CVE-2026-34180Jun 9, 2026 · Heap Buffer Over-read in ASN.1 Content Parsing
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
OpenSSL OpenSSL3.0.20Vendor (CNA)
OpenSSL OpenSSL3.3.7Vendor (CNA)
OpenSSL OpenSSL3.4.5Vendor (CNA)
OpenSSL OpenSSL3.5.6Vendor (CNA)
OpenSSL OpenSSL3.6.2Vendor (CNA)
azl3 openssl 3.3.5-4 on Azure Linux 3.03.3.5-5 · CBL-Mariner ReleasesMicrosoft (MSRC)
almalinux:edk2-aarch6420251114-5.el10_2.2 · AlmaLinux:10Package registry (OSV)
almalinux:edk2-ovmf20251114-5.el10_2.2 · AlmaLinux:10Package registry (OSV)
almalinux:edk2-tools20251114-5.el10_2.2 · AlmaLinux:10Package registry (OSV)
almalinux:edk2-tools-doc20251114-5.el10_2.2 · AlmaLinux:10Package registry (OSV)
almalinux:openssl1:3.5.5-2.el10_2.alma.1 · AlmaLinux:10Package registry (OSV)
almalinux:openssl-devel1:3.5.5-2.el10_2.alma.1 · AlmaLinux:10Package registry (OSV)
almalinux:openssl-libs1:3.5.5-2.el10_2.alma.1 · AlmaLinux:10Package registry (OSV)
almalinux:openssl-perl1:3.5.5-2.el10_2.alma.1 · AlmaLinux:10Package registry (OSV)
alpine:openssl3.3.7-r0 · Alpine:v3.20Package registry (OSV)
debian:openssl3.0.19-1~deb12u2 · Debian:12Package registry (OSV)
opensuse:openssl-1_0_01.0.2p-150000.3.105.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:openssl-33.1.4-150600.5.45.1 · openSUSE:Leap 15.6Package registry (OSV)
red hat:openssl1:3.5.5-2.el10_2 · Red Hat:enterprise_linux:10.2Package registry (OSV)
red hat:openssl-debuginfo1:3.5.5-2.el10_2 · Red Hat:enterprise_linux:10.2Package registry (OSV)
red hat:openssl-debugsource1:3.5.5-2.el10_2 · Red Hat:enterprise_linux:10.2Package registry (OSV)
red hat:openssl-devel1:3.5.5-2.el10_2 · Red Hat:enterprise_linux:10.2Package registry (OSV)
red hat:openssl-fips-provider0:3.0.7-11.el9_8 · Red Hat:enterprise_linux:9::baseosPackage registry (OSV)
red hat:openssl-fips-provider-debugsource0:3.0.7-11.el9_0 · Red Hat:rhel_e4s:9.2::baseosPackage registry (OSV)
red hat:openssl-fips-provider-so0:3.0.7-11.el9_8 · Red Hat:enterprise_linux:9::baseosPackage registry (OSV)
red hat:openssl-fips-provider-so-debuginfo0:3.0.7-11.el9_8 · Red Hat:enterprise_linux:9::baseosPackage registry (OSV)
red hat:openssl-fips-provider-so-debugsource0:3.0.7-11.el9_8 · Red Hat:enterprise_linux:9::baseosPackage registry (OSV)
red hat:openssl-libs1:3.5.5-2.el10_2 · Red Hat:enterprise_linux:10.2Package registry (OSV)
red hat:openssl-libs-debuginfo1:3.5.5-2.el10_2 · Red Hat:enterprise_linux:10.2Package registry (OSV)
red hat:openssl-perl1:3.5.5-2.el10_2 · Red Hat:enterprise_linux:10.2Package registry (OSV)

+7

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2025-6942070 days apartMissing ASN1_TYPE validation in TS_RESP_verify_response() function
    30Monitor
  • CVE-2026-2279570 days apartMissing ASN1_TYPE validation in PKCS#12 parsing
    22Monitor
  • CVE-2026-2279670 days apartASN1_TYPE Type Confusion in the PKCS7_digest_from_attributes() function
    21Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records