Security Resilience

CVE-2025-25293

DoS in Omniauth Saml ≤ 1.10.6

Public PoCDoS
Published
12 March 2025
Modified
03 November 2025
Patch / advisory
CVSS Score v4 7.7
Click a component to see what it means
Raw vectorCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.015 75th percentile
Risk Priority 50 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-25293 is a high-severity Uncontrolled Resource Consumption (CWE-400) vulnerability in Omniauth Saml. Its CVSS base score is 7.7 (High).

Operationally, ranked in the top 25% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SC-5 (Denial-of-service Protection) and SC-6 (Resource Availability) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

ruby-saml is a Ruby library that implements SAML-based single sign-on. Prior to versions 1.12.4 and 1.18.0, the library decompresses incoming SAML responses using zlib without first validating the size of the inflated content. Because the message-size check occurs on the compressed data, an attacker can supply a small but highly compressible assertion that expands to a much larger payload after decompression, triggering excessive memory or CPU consumption.

An unauthenticated remote attacker who can reach a SAML endpoint can send a crafted compressed response to induce a denial of service. The vulnerability carries a CVSS 4.0 score of 7.7 with network attack vector, no required privileges or user interaction, and high impact on availability.

Public advisories, including GitLab’s March 2025 patch release and the ruby-saml project’s own release notes, direct users to upgrade to 1.12.4 or 1.18.0. The fixes add a post-inflation size check and are referenced in the corresponding GitHub commits.

The associated EPSS score has remained low, moving only from 0.0622 to a peak of 0.0670.

EU & UK References

Vulnerability Data

ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby. Prior to versions 1.12.4 and 1.18.0, ruby-saml is susceptible to remote Denial of Service (DoS) with compressed SAML responses. ruby-saml uses zlib to decompress SAML responses in case…

more

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. This issue may lead to remote Denial of Service (DoS). Versions 1.12.4 and 1.18.0 fix the issue.

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-25291Same product: Omniauth Omniauth Saml
CVE-2024-45409Same product: Omniauth Omniauth Saml
CVE-2025-25292Same product: Omniauth Omniauth Saml
CVE-2025-66567Related weakness
CVE-2025-66568Related weakness
CVE-2025-40766Shared CWE-400
CVE-2023-3593Shared CWE-400
CVE-2024-21194Shared CWE-400
CVE-2026-87395Shared CWE-400
CVE-2025-55972Shared CWE-400

Affected Assets

omniauth
omniauth saml
≤ 1.10.6 · 2.0.0 — 2.1.3 · 2.2.0 — 2.2.3
onelogin
ruby-saml
≤ 1.12.4 · 1.13.0 — 1.18.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SC-5 directly limits the effects of resource-exhaustion events that constitute uncontrolled consumption.

SC-6 enforces explicit allocation limits on resources, structurally preventing the weakness from occurring.

Process isolation confines resource consumption to separate domains, reducing blast radius without stopping the root flaw.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.

blocks

A.8.20 implements network-level protections (firewalls, segmentation, protocol hardening, monitoring, authentication of systems/devices) that can limit abuse of a resource-consuming weakness but do not stop the weakness from being exploitable; the flaw remains present in the product and can still be triggered from an authorized or internal context.

blocks

Capacity management ensures sufficient resources are available and monitors utilization, but it does not stop an attacker from sending requests that consume those resources once the system is operational.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-400, a class-level weakness. Rules are authored against its narrower children: CWE-770.

References