# CVE-2025-54572: Ruby SAML DOS vulnerability with large SAML response

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-30 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2025-54572, DEBIAN-CVE-2025-54572, DLA-4288-1, CGA-564j-j3gg-xjfm, CGA-86jh-23gp-vfhr, CGA-95v5-3vx3-4w68, GHSA-rrqh-93c8-j966, CGA-qx88-p2vw-h833, CGA-vh93-hv9h-9h3h, CGA-vj3q-cpm9-wg7h, USN-9269-1
- Record: https://cvemate.com/vulnerability/CVE-2025-54572 · JSON: https://cvemate.com/vulnerability/CVE-2025-54572/json

## Description

```text
The Ruby SAML library is for implementing the client side of a SAML authorization. In versions 1.18.0 and below, a denial-of-service vulnerability exists in ruby-saml even with the message_max_bytesize setting configured. The vulnerability occurs because the SAML response is validated for Base64 format prior to checking the message size, leading to potential resource exhaustion. This is fixed in version 1.18.1.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- EPSS: 0.456%, percentile 41.278%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard gitlab-rails-ce-18.3 (Chainguard): \< 18.3.2-r0
- chainguard gitlab-rails-ce-assets-18.3 (Chainguard): \< 18.3.2-r0
- chainguard gitlab-rails-ce-doc-18.3 (Chainguard): \< 18.3.2-r0
- debian ruby-saml (Debian): \< 1.11.0-1+deb11u3 \| All versions (No fix recorded)
- ubuntu ruby-saml (Ubuntu): All versions (No fix recorded) \| \< 1.1.2-1ubuntu1+esm3 \| \< 1.7.2-1ubuntu0.1~esm3 \| \< 1.11.0-1ubuntu0.1+esm2 \| \< 1.13.0-1ubuntu0.1+esm2 \| \< 1.15.0-1ubuntu0.24.04.1+esm2
- RubyGems ruby-saml (RubyGems): \< 1.18.1
- saml-toolkits ruby-saml: \< 1.18.1

## References

- <https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-rrqh-93c8-j966>
- <https://github.com/SAML-Toolkits/ruby-saml/pull/770>
- <https://github.com/SAML-Toolkits/ruby-saml/commit/38ef5dd1ce17514e202431f569c4f5633e6c2709>
- <https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.1>
- <https://lists.debian.org/debian-lts-announce/2025/09/msg00001.html>
- <https://ubuntu.com/security/CVE-2025-54572>
- <https://www.cve.org/CVERecord?id=CVE-2025-54572>
- <https://security-tracker.debian.org/tracker/CVE-2025-54572>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54572.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54572>
- <https://github.com/SAML-Toolkits/ruby-saml>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-54572.yml>
- <https://ubuntu.com/security/notices/USN-9269-1>

---

Data as of 2026-12-05T03:38:44.573Z. 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
