Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-25293: ruby-saml provides security assertion markup language (SAML) single sign-on (SSO) for Ruby

55
This week
HIGH 7.5REMOTEUPGRADEUPGRADE

CVE-2025-25293 is a high-severity flaw (CVSS 7.5) affecting omniauth saml, ruby-saml. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • High severity
  • Public exploit reference
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score7.5 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance1.5% (top 25%)
CISA exploited listNo
WeaknessCWE-400
Published2025-03-12
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: omniauth · onelogin

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

omniauth omniauth saml UPGRADE
Affected: < 1.10.6 · >= 2.0.0 and < 2.1.3 · >= 2.2.0 and < 2.2.3
Fixed in: 1.10.6, 2.1.3, 2.2.3
Safe to downgrade to: a release before 2.0.0
1. Check installed version
apt-cache policy omniauth-saml || rpm -q omniauth-saml || omniauth-saml --version
2. UPGRADE to 1.10.6 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade omniauth-saml
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade omniauth-saml
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 2.0.0 (Debian / Ubuntu)
apt-cache madison omniauth-saml sudo apt install omniauth-saml=<VERSION_BEFORE_2.0.0> sudo apt-mark hold omniauth-saml
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list omniauth-saml sudo dnf downgrade omniauth-saml-<VERSION_BEFORE_2.0.0> sudo dnf versionlock add omniauth-saml
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
onelogin ruby-saml UPGRADE
Affected: < 1.12.4 · >= 1.13.0 and < 1.18.0
Fixed in: 1.12.4, 1.18.0
Safe to downgrade to: a release before 1.13.0
1. Check installed version
apt-cache policy ruby-saml || rpm -q ruby-saml || ruby-saml --version
2. UPGRADE to 1.12.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade ruby-saml
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade ruby-saml
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.13.0 (Debian / Ubuntu)
apt-cache madison ruby-saml sudo apt install ruby-saml=<VERSION_BEFORE_1.13.0> sudo apt-mark hold ruby-saml
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list ruby-saml sudo dnf downgrade ruby-saml-<VERSION_BEFORE_1.13.0> sudo dnf versionlock add ruby-saml
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-25293?

omniauth saml: upgrade to 1.10.6, 2.1.3, 2.2.3; ruby-saml: upgrade to 1.12.4, 1.18.0. Exact commands for each OS are on this page.

Is CVE-2025-25293 being exploited?

CVE-2025-25293 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-25293 affect?

CVE-2025-25293 affects omniauth saml, ruby-saml. Severity is high (CVSS 7.5). 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

How urgent is CVE-2025-25293?

Priority 55/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action

Software pages

Ruby vulnerabilities · zlib vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.