Skip to main content
VulnerabilityPublished Updated

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

Affects ruby-samlSource GCVE Database

0
Compare
Authoritative record:CVE-2025-25293· High 7.7

Public exploit available · CVSS 7.7 High : upgrade to 1.12.4 as a priority.

Data as of 29 Oct 2026, 22:52 UTC

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.07.7
Patch
Available – fixed in 1.12.4, 1.18.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Mar 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    CVSS exploit maturity: proof of concept public

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade ruby-saml to 1.12.4; ruby-saml to 1.18.0.

Affected software

ProductAffectedFixed in
RubyGemsruby-samlAffected
  • <1.12.4
Fixed in
  • 1.12.4
RubyGemsruby-samlAffected
  • >=1.13.0 <1.18.0
Fixed in
  • 1.18.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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

References

Community reviews

Loading reviews…