CVE-2025-25293ruby-saml vulnerable to Remote Denial of Service (DoS) with compressed SAML responses
- 7.7HighCVSS base score
- 1.5%Exploitation in 30 daysEPSS · top 25% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By GitHub_M
- 34 days later
· 34 days later
Published
- 8 months later
· 8 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 4.0 | High7.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 |
| NVDNVD · Modified | 4.0 | High7.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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 1.5% · top 25% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.7.
Affected products
- affected < 1.12.4
- affected >= 1.13.0, < 1.18.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsruby-samlGHSA-92rq-c8cf-prrq (opens in a new tab)
References
References11
- https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-92rq-c8cf-prrq (opens in a new tab)x_refsource_CONFIRM
- https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv (opens in a new tab)x_refsource_MISC
- https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a (opens in a new tab)x_refsource_MISC
- https://github.com/SAML-Toolkits/ruby-saml/commit/e2da4c6dae7dc01a4d9cd221395140a67e2b3eb1 (opens in a new tab)x_refsource_MISC
- https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released (opens in a new tab)x_refsource_MISC
- https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials (opens in a new tab)x_refsource_MISC
- https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4 (opens in a new tab)x_refsource_MISC
- https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0 (opens in a new tab)x_refsource_MISC
- https://securitylab.github.com/advisories/GHSL-2024-355_ruby-saml (opens in a new tab)x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20250314-0008/ (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/04/msg00011.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-6413 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-92rq-c8cf-prrq (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-25293)Record last updated .