CVE-2025-54572
MEDIUM 6.9CVSS 4.0Ruby SAML DOS vulnerability with large SAML response
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.
- Published
- 30 Jul 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-rrqh-93c8-j966
- Sources
- NVDJSONOSV GHSA-rrqh-93c8-j966JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | ruby-saml | < 1.18.1 | 1.18.1 |
References
- https://github.com/SAML-Toolkits/ruby-saml/commit/38ef5dd1ce17514e202431f569c4f5633e6c2709 · WEB
- https://github.com/SAML-Toolkits/ruby-saml/pull/770 · WEB
- https://github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.1 · WEB
- https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-rrqh-93c8-j966 · WEB
- https://lists.debian.org/debian-lts-announce/2025/09/msg00001.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54572 · ADVISORY
- https://github.com/SAML-Toolkits/ruby-saml · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-54572.yml · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 30 Jul 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Jul 2025)