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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-03-12 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2025-25293, DEBIAN-CVE-2025-25293, GHSA-92rq-c8cf-prrq, BIT-gitlab-2025-25293
- Record: https://cvemate.com/vulnerability/CVE-2025-25293 · JSON: https://cvemate.com/vulnerability/CVE-2025-25293/json

## Description

```text
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.
```

## Signals

- CVSS: 7.7 high (v4.0, CVE.org) 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
- EPSS: 1.516%, percentile 75.401%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected

- debian ruby-saml (Debian): All versions (No fix recorded)
- ubuntu ruby-saml (Ubuntu): \< 1.1.2-1ubuntu1+esm2 \| \< 1.7.2-1ubuntu0.1~esm2 \| \< 1.11.0-1ubuntu0.1+esm1 \| \< 1.13.0-1ubuntu0.1+esm1 \| \< 1.15.0-1ubuntu0.24.04.1+esm1
- RubyGems ruby-saml (RubyGems): \< 1.12.4 \| ≥ 1.13.0, \< 1.18.0
- omniauth omniauth\_saml: \< 1.10.6 \| ≥ 2.0.0, \< 2.1.3 \| ≥ 2.2.0, \< 2.2.3
- onelogin ruby-saml: \< 1.12.4 \| ≥ 1.13.0, \< 1.18.0
- saml-toolkits ruby-saml: \< 1.12.4 \| ≥ 1.13.0, \< 1.18.0

## References

- <https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-92rq-c8cf-prrq>
- <https://github.com/omniauth/omniauth-saml/security/advisories/GHSA-hw46-3hmr-x9xv>
- <https://github.com/SAML-Toolkits/ruby-saml/commit/acac9e9cc0b9a507882c614f25d41f8b47be349a>
- <https://github.com/SAML-Toolkits/ruby-saml/commit/e2da4c6dae7dc01a4d9cd221395140a67e2b3eb1>
- <https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released>
- <https://github.blog/security/sign-in-as-anyone-bypassing-saml-sso-authentication-with-parser-differentials>
- <https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.12.4>
- <https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.0>
- <https://securitylab.github.com/advisories/GHSL-2024-355_ruby-saml>
- <https://security.netapp.com/advisory/ntap-20250314-0008/>
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00011.html>
- <https://ubuntu.com/security/CVE-2025-25293>
- <https://www.cve.org/CVERecord?id=CVE-2025-25293>
- <https://ubuntu.com/security/notices/USN-7409-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-25293>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-25293>
- <https://github.com/SAML-Toolkits/ruby-saml>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-25293.yml>
- <https://security.netapp.com/advisory/ntap-20250314-0008>

---

Data as of 2026-12-05T03:44:10.032Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
