VDB

CVE-2025-25293

CVE-2025-25293 PUBLISHED CVSS 7.7 HIGH

ruby-saml vulnerable to Remote Denial of Service (DoS) with compressed SAML responses

Reported by github_m · Published March 12, 2025

ruby-saml is fixed in 1.18.0 and 1.12.4 (RubyGems)

ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Prior to versions 1.12.4 and 1.18.0, ruby-saml is susceptible to remote Denial of Service (DoS) with compressed SAML responses. ruby-saml uses zlib to decompress SAML responses in case they're compressed. It is possible to bypass the message size check with a compressed assertion since the message size is checked before inflation and not after. This issue may lead to remote Denial of Service (DoS). Versions 1.12.4 and 1.18.0 fix the issue.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
ruby-samlRubyGems1.18.0, 1.12.4
gitlabBitnami17.9.2
omniauth_samlomniauth2.2.3, 2.1.3, 1.10.6
ruby-samlonelogin1.18.0, 1.12.4

Risk scores

CVSS 4.0
7.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P

Affected products

VendorProductVersions
SAML-Toolkitsruby-saml< 1.12.4, >= 1.13.0, < 1.18.0
RubyGemsruby-saml0, 1.13.0
SAML-Toolkitsruby-saml0, 1.13.0

Timeline

  • Mar 12, 2025 CVE Published
  • Mar 13, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 14, 2025 PoC Published (2 in total, the first dated here)
  • Nov 3, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory (2 in total, the first dated here)
  • Jun 16, 2026 Coalition ESS Score
  • Aug 10, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-25293
vulnetix vdb fixes CVE-2025-25293

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-25293/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›