# CVE-2025-25293: ruby-saml: ruby-saml provides security assertion markup language (SAML) single sign-on(SSO) for Ruby

CVE-2025-25293 is fixed in ruby-saml on 1 platform, first by ruby-saml 1.7.2-1ubuntu0.1~esm2, released March 12, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-25293
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0153
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 12, 2025

## 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 issusceptible to remote Denial of Service (DoS) with compressed SAMLresponses. ruby-saml uses zlib to decompress SAML responses in case they'recompressed. It is possible to bypass the message size check with acompressed assertion since the message size is checked before inflation andnot after. This issue may lead to remote Denial of Service (DoS). Versions1.12.4 and 1.18.0 fix the issue.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ruby-saml Ubuntu 18.04.6 LTS (bionic) | 1.7.2-1ubuntu0.1~esm2 | [ruby-saml 1.7.2-1ubuntu0.1~esm2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ruby-saml-1.7.2-1ubuntu0.1-esm2.md) | Mar 12, 2025 |
| Linux | ruby-saml Ubuntu 20.04 LTS (focal) | 1.11.0-1ubuntu0.1+esm1 | [ruby-saml 1.11.0-1ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ruby-saml-1.11.0-1ubuntu0.1-esm1.md) | Mar 12, 2025 |
| Linux | ruby-saml Ubuntu 22.04.1 LTS (jammy) | 1.13.0-1ubuntu0.1+esm1 | [ruby-saml 1.13.0-1ubuntu0.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ruby-saml-1.13.0-1ubuntu0.1-esm1.md) | Mar 12, 2025 |
| Linux | ruby-saml Ubuntu 24.04.5 LTS (noble) | 1.15.0-1ubuntu0.24.04.1+esm1 | [ruby-saml 1.15.0-1ubuntu0.24.04.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ruby-saml-1.15.0-1ubuntu0.24.04.1-esm1.md) | Mar 12, 2025 |
| Linux | ruby-saml Ubuntu 24.10 (oracular) | 1.15.0-1ubuntu0.24.10.2 | [ruby-saml 1.15.0-1ubuntu0.24.10.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-ruby-saml-1.15.0-1ubuntu0.24.10.2.md) | Jan 16, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
