NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · RubyGems

CVE-2025-25293: Ruby SAML allows remote Denial of Service (DoS) with compressed SAML responses

highCVSS 4.0 7.7 · 3.1 7.5GHSA-92rq-c8cf-prrq

Summary ruby-saml is susceptible to remote Denial of Service (DoS) with compressed SAML responses. Ruby-saml uses zlib to decompress SAML responses in case they're compressed. It is possible to bypass the message size check with a compressed assertion since the message size is checked before inflation and not after. Impact This issue may lead to remote Denial of Service (DoS).

Published Mar 12, 2025 · Updated Nov 3, 2025

Affected packages

ruby-saml

Ecosystem
RubyGems
Affected
< 1.12.4
Fixed in
1.12.4
Check
bundle info ruby-saml

ruby-saml

Ecosystem
RubyGems
Affected
>= 1.13.0, < 1.18.0
Fixed in
1.18.0
Check
bundle info ruby-saml

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Summary

ruby-saml is susceptible to remote Denial of Service (DoS) with compressed SAML responses.

Ruby-saml uses zlib to decompress SAML responses in case they're compressed. It is possible to bypass the message size check with a compressed assertion since the message size is checked before inflation and not after.

Impact

This issue may lead to remote Denial of Service (DoS).

Credited to p-.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More RubyGems vulnerabilities

All RubyGems entries