cve.bz

CVE-2025-54572 saml-toolkits ruby-saml: Uncontrolled Resource Consumption

6.9 mediumEPSS 0.5%Fix available

Medium (6.9) in saml-toolkits ruby-saml. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in ruby-saml 1.18.1.

On this page
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.

Severity

CVSS 4.0

6.9 medium
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.5% (unchanged from 0.5% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 40th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-07-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-54572 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-54572?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-54572?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-54572 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
SAML-Toolkits ruby-saml< 1.18.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rrqh-93c8-j966RubyGemsruby-saml<1.18.11.18.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ruby-saml1.11.0-1+deb11u3DLA-4288-1
Debian12ruby-samlno fix listedDEBIAN-CVE-2025-54572
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTS and 2 moreruby-samlno fix listedUBUNTU-CVE-2025-54572

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON