# CVE-2025-25293: ruby-saml vulnerable to Remote Denial of Service (DoS) with compressed SAML responses

- Severity: High 7.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.52%, higher than 75% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-03-12T20:11:08.860Z
- Modified: 2026-09-08T08:47:45.214Z
- Also known as: GHSA-92rq-c8cf-prrq, BIT-GITLAB-2025-25293
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- SAML-Toolkits ruby-saml: < 1.12.4; >= 1.13.0, < 1.18.0
- ruby-saml (RubyGems): before 1.12.4; from 1.13.0 before 1.18.0
- omniauth omniauth_saml: before 1.10.6; from 2.0.0 before 2.1.3; from 2.2.0 before 2.2.3
- onelogin ruby-saml: before 1.12.4; from 1.13.0 before 1.18.0
- gitlab (Bitnami): before 17.9.2

## Every score

- GitHub_M: CVSS:4.0 7.7 High `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`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials> (exploit, advisory, third-party-advisory, web)
- <https://securitylab.github.com/advisories/GHSL-2024-355_ruby-saml> (exploit, advisory, third-party-advisory)
- <https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-92rq-c8cf-prrq> (advisory, vendor-advisory, web)
- <https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv> (advisory, vendor-advisory, web)
- <https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a> (fix, patch, web)
- <https://github.com/SAML-Toolkits/ruby-saml/commit/e2da4c6dae7dc01a4d9cd221395140a67e2b3eb1> (fix, patch, web)
- <https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released> (fix, patch, web)
- <https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4> (article, release-notes, web)
- <https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0> (article, release-notes, web)
- <https://security.netapp.com/advisory/ntap-20250314-0008/> (advisory, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00011.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-25293> (advisory, web)
- <https://github.com/SAML-Toolkits/ruby-saml> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25293.yml> (web)
- <https://security.netapp.com/advisory/ntap-20250314-0008> (web)

## Sources

- CVE List: [CVE-2025-25293](https://www.cve.org/CVERecord?id=CVE-2025-25293), CVE Terms of Use, modified 2025-11-03
- GitHub Advisory Database: [GHSA-92rq-c8cf-prrq](https://github.com/advisories/GHSA-92rq-c8cf-prrq), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-25293](https://nvd.nist.gov/vuln/detail/CVE-2025-25293), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2025-25293](https://osv.dev/vulnerability/BIT-GITLAB-2025-25293), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-25293 · Whole record: https://cve.day/CVE-2025-25293.json · Rebuilt by cve.day 2026-11-25T22:58:55.229Z
