9.3

CVE-2025-66568: ruby-saml Libxml2 Canonicalization errors can bypass Digest/Signature validation

Analyzed
AliasesUBUNTU-CVE-2025-66568GHSA-x4h9-gwv3-r4m4
Published 09-12-2025Last modified 09-12-2025

Vulnerability summary

CVE-2025-66568 is a critical (CVSS 9.3) vulnerability in onelogin ruby-saml. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 19.6% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.3/10
010
Critical · v4.0 (CVE.org)
EPSS score
0.27%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 09-12-2025
    PublishedVulnerability first disclosed.
  2. 09-12-2025
    Last modifiedVulnerability information updated.

Description

The ruby-saml library implements the client side of an SAML authorization. Versions up to and including 1.12.4, are vulnerable to authentication bypass through the libxml2 canonicalization process used by Nokogiri for document transformation, which allows an attacker to execute a Signature Wrapping attack. When libxml2’s canonicalization is invoked on an invalid XML input, it may return an empty string rather than a canonicalized node. ruby-saml then proceeds to compute the DigestValue over this empty string, treating it as if canonicalization succeeded. This issue is fixed in version 1.18.0.

CVSS metrics

6 scores · 4 sources · 2 versions

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

20%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.25% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Onelogin1 product
RubyGems1 product
  • ruby-saml< 1.18.0
Saml-toolkits1 product
Ubuntu1 product
  • ruby-samlAll versions (No fix recorded)

4 vendors · 4 products

References

7 links