Improper Check for Unusual or Exceptional Conditions Affecting openssl package, versions [,3.0.20)[3.1.0,3.3.7)[3.4.0,3.4.5)[3.5.0,3.5.6)[3.6.0,3.6.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-OPENSSL-15928864
  • published8 Apr 2026
  • disclosed7 Apr 2026
  • creditSimo Sorce

Introduced: 7 Apr 2026

NewCVE-2026-31790  (opens in a new tab)
CWE-754  (opens in a new tab)

How to fix?

Upgrade openssl to version 3.0.20, 3.3.7, 3.4.5, 3.5.6, 3.6.2 or higher.

Overview

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions via the RSASVE encapsulation process. An attacker can obtain sensitive information by supplying an invalid RSA public key and triggering the use of uninitialized memory contents as ciphertext.

Note:

This is only exploitable if the application does not validate the RSA public key before encapsulation.

Workaround

This vulnerability can be mitigated by calling EVP_PKEY_public_check() or EVP_PKEY_public_check_quick() before EVP_PKEY_encapsulate().

CVSS Base Scores

version 4.0
version 3.1