Medium severityNVD Advisory· Published Jul 30, 2025· Updated Apr 15, 2026
CVE-2025-54572
CVE-2025-54572
Description
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
ruby-samlRubyGems | < 1.18.1 | 1.18.1 |
Patches
238ef5dd1ce178c395b5d75a2Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- github.com/advisories/GHSA-rrqh-93c8-j966ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-54572ghsaADVISORY
- github.com/SAML-Toolkits/ruby-saml/commit/38ef5dd1ce17514e202431f569c4f5633e6c2709nvdWEB
- github.com/SAML-Toolkits/ruby-saml/pull/770nvdWEB
- github.com/SAML-Toolkits/ruby-saml/releases/tag/v1.18.1nvdWEB
- github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-rrqh-93c8-j966nvdWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-saml/CVE-2025-54572.ymlghsaWEB
- lists.debian.org/debian-lts-announce/2025/09/msg00001.htmlnvdWEB
News mentions
0No linked articles in our index yet.