CVE-2025-54572 MEDIUM

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

Vendor Saml-Toolkits
Product ruby-saml
Weakness CWE-400
Published July 30, 2025
Last update November 3, 2025

CVSS base score

6.9/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 30, 2025 CVE published
November 3, 2025 Record updated