CVE-2026-31790

Aliases:RHSA-2026:19066RHSA-2026:19218RHSA-2026:27744RHSA-2026:27745RHSA-2026:27746RHSA-2026:28211RHSA-2026:28832UBUNTU-CVE-2026-31790DEBIAN-CVE-2026-31790ALPINE-CVE-2026-31790CGA-82jc-g66m-rp8rCGA-85p3-36wg-c582CGA-chx3-v6gr-x6h2CGA-hvhw-vf7c-7ccvCGA-2wgj-3w8f-6fw4CGA-632x-cmxm-g57pCGA-6v4c-4m94-4p93CGA-7q47-849v-wrr7CGA-jfg9-cv48-7vxhCGA-mcvh-g5fq-c4xjCGA-p5mf-8w4f-p2wcCGA-qc52-7hxw-3f6vCGA-qpmw-jhfr-hhm7CGA-v9q2-4f25-fhj7
Modified
Published: 07 Apr 2026, 22:00
Last modified:12 May 2026, 12:09

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.5 HIGH
v3.1 (cve.org)
EPSS Score
1.03% LOW
1% probability +0.05%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

07 Apr 2026, 22:00
Published
Vulnerability first disclosed
12 May 2026, 12:09
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1HIGHScore: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • v3.1MEDIUMScore: 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS Trends

Current EPSS score: 1.03% Percentile: 62%

Techniques & Countermeasures

  • CWE-754Improper Check for Unusual or Exceptional Conditions

    The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.

Affected Systems

  • alpineopenssl

    ≥ 3.0.0, < 3.3.7-r0 | ≥ 3.0.0, < 3.3.7-r0 | ≥ 3.0.0, < 3.5.6-r0 | ≥ 3.0.0, < 3.5.6-r0 | ≥ 3.0.0, < 3.5.6-r0

  • chainguardlibcrypto3

    < 3.6.2-r0

  • chainguardlibcrypto3-2.34

    < 3.6.2-r0

  • chainguardopenssl

    < 3.6.2-r0

  • chainguardopenssl-provider-fips-3.4.0

    < 3.4.0-r5

  • chainguardopenssl-provider-fips-3.4.0-dbg

    < 3.4.0-r5

  • chainguardopenssl-provider-fips-3.6.0

    < 3.6.0-r3

  • chainguardopenssl-provider-fips-3.6.0-dbg

    < 3.6.0-r3

  • wolfilibcrypto3

    < 3.6.2-r0

  • wolfiopenssl

    < 3.6.2-r0

  • debianopenssl

    < 3.0.19-1~deb12u2 | < 3.5.5-1~deb13u2 | < 3.6.2-1

  • ubuntuedk2

    all | all | all

  • ubuntuedk2-hwe

    all

  • ubuntuopenssl

    < 3.0.2-0ubuntu1.23 | all | < 3.0.13-0ubuntu3.9 | < 3.5.3-1ubuntu3.3 | < 3.5.5-1ubuntu3

  • ubuntuopenssl-fips

    all | < 3.0.13-0ubuntu3.12+Fips1

  • opensslopenssl

    ≥ 3.0.0, < 3.0.20 | ≥ 3.3.0, < 3.3.7 | ≥ 3.4.0, < 3.4.5 | ≥ 3.5.0, < 3.5.6 | ≥ 3.6.0, < 3.6.2

  • redhatopenssl

    < 1:3.5.5-2.el10_2 | < 1:3.5.5-2.el9_8

  • redhatopenssl-debuginfo

    < 1:3.5.5-2.el10_2 | < 1:3.5.5-2.el9_8 | < 1:3.5.5-2.el9_8

  • redhatopenssl-debugsource

    < 1:3.5.5-2.el10_2 | < 1:3.5.5-2.el9_8 | < 1:3.5.5-2.el9_8

  • redhatopenssl-devel

    < 1:3.5.5-2.el10_2 | < 1:3.5.5-2.el9_8

  • redhatopenssl-fips-provider

    < 0:3.0.7-11.el9_8 | < 0:3.0.7-11.el10_0 | < 0:3.0.7-11.el10_2 | < 0:3.0.7-11.el9_0 | < 0:3.0.7-1.2.hum1

  • redhatopenssl-fips-provider-debugsource

    < 0:3.0.7-11.el9_0

  • redhatopenssl-fips-provider-so

    < 0:3.0.7-11.el9_8 | < 0:3.0.7-11.el10_0 | < 0:3.0.7-11.el10_2 | < 0:3.0.7-11.el9_0

  • redhatopenssl-fips-provider-so-debuginfo

    < 0:3.0.7-11.el9_8 | < 0:3.0.7-11.el10_0 | < 0:3.0.7-11.el10_2 | < 0:3.0.7-11.el9_0

  • redhatopenssl-fips-provider-so-debugsource

    < 0:3.0.7-11.el9_8 | < 0:3.0.7-11.el10_0 | < 0:3.0.7-11.el10_2

  • redhatopenssl-libs

    < 1:3.5.5-2.el10_2 | < 1:3.5.5-2.el9_8

  • redhatopenssl-libs-debuginfo

    < 1:3.5.5-2.el10_2 | < 1:3.5.5-2.el9_8 | < 1:3.5.5-2.el9_8

  • redhatopenssl-perl

    < 1:3.5.5-2.el10_2 | < 1:3.5.5-2.el9_8

References (34)