All reports
High

Ruby SAML allows remote Denial of Service (DoS) with compressed SAML responses

Affected versions

RubyGemsruby-saml
Affected versions
>= 1.13.0, < 1.18.0
Fixed version
1.18.0
RubyGemsruby-saml
Affected versions
< 1.12.4
Fixed version
1.12.4

Exploitation

CVE-2025-25293

Probability of exploitation in the next 30 days: 1.53%

FIRST EPSS · 2026-11-21

Description

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).

Links

Credits

  • p-