CVE-2025-25293: Omniauth SAML
High severity, CVSS 7.5. EPSS: 1.5% chance of exploitation in the next 30 days.
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.
Affected products
- Omniauth Omniauth SAML: before 1.10.6 (fixed in 1.10.6); from 2.0.0, before 2.1.3 (fixed in 2.1.3); from 2.2.0, before 2.2.3 (fixed in 2.2.3)
- Onelogin Ruby-SAML: before 1.12.4 (fixed in 1.12.4); from 1.13.0, before 1.18.0 (fixed in 1.18.0)
Published 2025-03-12. Last modified 2026-06-17.