6.9

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

Deferred
AliasesUBUNTU-CVE-2025-54572DEBIAN-CVE-2025-54572DLA-4288-1
Published 30-07-2025Last modified 03-11-2025

Vulnerability summary

CVE-2025-54572 is a medium (CVSS 6.9) Uncontrolled Resource Consumption vulnerability in saml-toolkits ruby-saml. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 41.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.46%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 30-07-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.46%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.46% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard3 products
  • gitlab-rails-ce-18.3< 18.3.2-r0
  • gitlab-rails-ce-assets-18.3< 18.3.2-r0
  • gitlab-rails-ce-doc-18.3< 18.3.2-r0
Debian1 product
  • ruby-saml< 1.11.0-1+deb11u3 | All versions (No fix recorded)
RubyGems1 product
  • ruby-saml< 1.18.1
Saml-toolkits1 product
Ubuntu1 product
  • ruby-samlAll 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

5 vendors · 7 products

References

13 links
Show all 13 references