CVE-2026-28390: 
Ruby vulnerability analysis and mitigation

Overview

CVE-2026-28390 is a NULL pointer dereference vulnerability in OpenSSL's CMS (Cryptographic Message Syntax) EnvelopedData processing that can cause a Denial of Service. When a CMS EnvelopedData message using KeyTransportRecipientInfo with RSA-OAEP encryption is processed, the optional pSourceFunc parameters field of the RSA-OAEP algorithm identifier is accessed without first verifying its presence, resulting in a segfault if the field is absent. Affected versions span OpenSSL 1.0.2 (before 1.0.2zp), 1.1.1 (before 1.1.1zg), 3.0.x (before 3.0.20), 3.3.x (before 3.3.7), 3.4.x (before 3.4.5), 3.5.x (before 3.5.6), and 3.6.x (before 3.6.2). The vulnerability was disclosed on April 7, 2026, and carries a CVSS v3.1 base score of 7.5 (High) (OpenSSL Advisory, GitHub Advisory).

Technical details

The root cause is a NULL pointer dereference (CWE-476) in the rsa_cms_decrypt() function within crypto/cms/cms_rsa.c. The vulnerable code directly accessed plab->parameter->type and plab->parameter->value.octet_string->data without checking whether plab->parameter (the optional parameters field of the RSA-OAEP SourceFunc algorithm identifier) was actually present. An unauthenticated remote attacker can exploit this by sending a crafted CMS EnvelopedData message with a KeyTransportRecipientInfo block that omits the optional parameters field, triggering the dereference before any authentication or cryptographic verification occurs. The fix, applied across multiple OpenSSL branches, uses X509_ALGOR_get0() to safely retrieve the algorithm OID, parameter type, and parameter value with proper NULL checks (OpenSSL Commit, OpenSSL Advisory). The FIPS modules in versions 3.0, 3.3, 3.4, 3.5, and 3.6 are not affected, as the vulnerable code lies outside the FIPS module boundary.

Impact

Successful exploitation causes the affected application to crash (segfault), resulting in a Denial of Service. The crash occurs before any authentication or cryptographic operations complete, meaning any service that calls CMS_decrypt() on attacker-supplied input — such as S/MIME email gateways, CMS-based protocol handlers, or TLS-adjacent services — can be remotely crashed without credentials. There is no known confidentiality or integrity impact; the vulnerability is limited to availability (OpenSSL Advisory, GitHub Advisory).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.029% (0.000290), indicating a very low probability of exploitation in the near term. No threat actor attribution has been reported.

Exploitation steps

  1. Identify a target: Locate a service or application that processes untrusted CMS EnvelopedData messages using a vulnerable OpenSSL version (e.g., an S/MIME email processing gateway, a CMS-based decryption service, or any application calling CMS_decrypt() on external input).
  2. Craft a malicious CMS message: Construct a DER- or PEM-encoded CMS EnvelopedData message that includes a KeyTransportRecipientInfo block specifying RSA-OAEP as the key encryption algorithm, but with the optional pSourceFunc field present while omitting its parameters sub-field.
  3. Deliver the payload: Submit the crafted message to the target application — for example, by sending a specially crafted S/MIME email to a mail server using OpenSSL for decryption, or by submitting the CMS blob to an API endpoint that invokes CMS_decrypt().
  4. Trigger the crash: The vulnerable rsa_cms_decrypt() function dereferences the NULL parameter pointer when processing the malformed pSourceFunc, causing a segfault and crashing the application process, resulting in Denial of Service (OpenSSL Commit, OpenSSL Advisory).

Indicators of compromise

  • Logs: Application crash logs or core dumps referencing rsa_cms_decrypt or cms_rsa.c; OpenSSL error logs showing CMS_R_UNSUPPORTED_LABEL_SOURCE or segmentation fault signals from the CMS decryption path.
  • Process: Unexpected termination (SIGSEGV) of mail server processes (e.g., Postfix, Exim, Dovecot), web server worker processes, or custom CMS-processing daemons linked against a vulnerable OpenSSL version.
  • Network: Repeated inbound delivery of S/MIME messages or CMS-encoded payloads from the same source IP that consistently cause service crashes; unusual patterns of connection resets following CMS message submission.
  • File System: Core dump files (e.g., core, core.<pid>) in application working directories generated by the OpenSSL-linked process, potentially containing stack traces pointing to rsa_cms_decrypt().

Mitigation and workarounds

Upgrade OpenSSL to one of the following patched versions: 1.0.2zp, 1.1.1zg, 3.0.20, 3.3.7, 3.4.5, 3.5.6, or 3.6.2 (or later). No configuration-based workaround is available; patching is the only remediation. Prioritize systems that process untrusted CMS data, including S/MIME implementations and CMS-based protocol handlers. Review and restrict which applications are permitted to process CMS EnvelopedData messages from untrusted sources as a defense-in-depth measure. Distribution-specific updates are available for Ubuntu (USN-8155-1, USN-8155-2), Debian, SUSE, Red Hat, Amazon Linux, and others (OpenSSL Advisory, GitHub Advisory).

Community reactions

The OpenSSL project published a formal security advisory on April 7, 2026, describing the issue and its scope (OpenSSL Advisory). Microsoft also acknowledged the vulnerability in its April 2026 security update guidance (Microsoft MSRC). Security news outlets including Help Net Security, CyberSecurityNews, and 9to5Linux covered the OpenSSL 3.6.2 release and its security fixes. Community reaction was generally measured, noting the limited impact (DoS only, no code execution) and the availability of patches across all supported branches.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

openssl: 3.0.19-1~deb12u2

Fixed

sid

openssl: 3.6.2-1

Fixed

trixie

openssl: 3.5.5-1~deb13u2

Fixed

Ubuntu

Fixed

bionic (esm-apps)

nodejs

Unknown

bionic (esm-infra)

openssl: 1.1.1-1ubuntu2.1~18.04.23+esm8

Fixed

bionic (fips-updates)

openssl: 1.1.1-1ubuntu2.fips.2.1~18.04.23.8

Fixed

bionic (fips)

openssl

Affected

devel

openssl: 3.5.5-1ubuntu3

Fixed

focal (esm-apps)

nodejs

Not Affected

focal (esm-infra)

openssl: 1.1.1f-1ubuntu2.24+esm3

Fixed

focal (fips-updates)

openssl: 1.1.1f-1ubuntu2.fips.24.3

Fixed

RHEL / CentOS

Fixed

OpenShift

el8:openshift/ose-rhel-coreos-8-0:412.86.202608241157-0

Fixed

RHEL 8

:appstream:compat-openssl10-1:1.0.2o-4.el8_10.2.src

Fixed

RHEL 9

:appstream:compat-openssl11-1:1.1.1k-4.el9_2.2.src

Fixed

RHEL 10

openssl-1:3.2.2-16.el10_0.7.src

Fixed

Alpine

Fixed

edge

openssl: 3.5.6-r0

Fixed

v3.20

openssl: 3.3.7-r0

Fixed

v3.21

openssl: 3.3.7-r0

Fixed

v3.22

openssl: 3.5.6-r0

Fixed

v3.23

openssl: 3.5.6-r0

Fixed

Source: This report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-110264CRITICAL10
  • Ruby logoRuby
  • rubygem-rdoc
NoYesOct 22, 2026
GHSA-h7x6-9mqf-vgmxHIGH8.2
  • Ruby logoRuby
  • avo
NoYesOct 22, 2026
GHSA-x65r-p6hf-94hvMEDIUM6.5
  • Ruby logoRuby
  • avo
NoYesOct 22, 2026
GHSA-58rx-96gf-w92xMEDIUM6.1
  • Ruby logoRuby
  • ransack
NoYesOct 25, 2026
CVE-2026-63183LOWN/A
  • Ruby logoRuby
  • omniauth
NoNoOct 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management