PT-2026-31041 · Openssl+4 · Openssl+4

Nikola Pajkovsky

+1

·

Published

2026-04-07

·

Updated

2026-05-19

·

CVE-2026-31790

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions OpenSSL FIPS modules versions 3.0 through 3.6
Description Applications using RSASVE key encapsulation can send contents of an uninitialized memory buffer to a malicious peer, potentially leading to sensitive data leakage. This occurs when applications use EVP PKEY encapsulate() with RSA/RSASVE on an attacker-supplied invalid RSA public key without first validating that key. The RSA public encrypt() function returns the number of bytes written on success and -1 on error, but the affected code only checks if the return value is non-zero. If RSA encryption fails, the encapsulation can still return success, allowing the caller to use uninitialized ciphertext. Calling EVP PKEY public check() or EVP PKEY public check quick() before EVP PKEY encapsulate() can mitigate this issue.
Recommendations Apply the OpenSSL April 2026 security update immediately. If you cannot update immediately, call EVP PKEY public check() or EVP PKEY public check quick() before EVP PKEY encapsulate() as a mitigation. Audit uses of RSASVE/EVP PKEY encapsulate() and ensure public keys are validated prior to encapsulation. Rotate keys/secrets if exposure is suspected.

Fix

DoS

Improper Check for Exceptional Conditions

Weakness Enumeration

Related Identifiers

ALSA-2026:19066
ALSA-2026:19218
CVE-2026-31790
ECHO-CD1B-A137-2E06
JLSEC-2026-277
MGASA-2026-0091
OESA-2026-2041
OESA-2026-2042
OESA-2026-2043
OESA-2026-2161
OPENSUSE-SU-2026:10533-1
OPENSUSE-SU-2026:20525-1
RHSA-2026:19066
RHSA-2026:19218
RHSA-2026:7261
SUSE-SU-2026:1213-1
SUSE-SU-2026:1214-1
SUSE-SU-2026:1215-1
SUSE-SU-2026:1216-1
SUSE-SU-2026:1256-1
SUSE-SU-2026:1257-1
SUSE-SU-2026:1291-1
SUSE-SU-2026:1375-1
SUSE-SU-2026:21037-1
SUSE-SU-2026:21065-1
SUSE-SU-2026:21107-1
SUSE-SU-2026:21186-1
USN-8155-1

Affected Products

Ibm Aix
Linuxmint
Openssl
Rocky Linux
Ubuntu