GHSA-x4h9-gwv3-r4m4 · Severity: critical · Ecosystem: rubygems — Ruby-saml allows a Libxml2 Canonicalization error to bypass Digest/Signature validation
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.
Conclusion & alert: CVE-2025-66568 is rated Moderate Risk (40.8/100): CVSS Critical severity, with low exploitation likelihood (EPSS 0.04%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-12-15 | 0.06% | 0.04% | -0.03% |
| 2 | 2025-12-09 | — | 0.06% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.3 | 4.0 | CRITICAL |
|
— | — | [email protected] |
| 9.1 | 3.1 | CRITICAL |
|
3.9 | 5.2 | [email protected] |
GHSA-x4h9-gwv3-r4m4 · Severity: critical · Ecosystem: rubygems — Ruby-saml allows a Libxml2 Canonicalization error to bypass Digest/Signature validation
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2025-66568 unimportant priority: Debian including 1 source packages (ruby-saml), 2 status rows across 2 suites (bookworm, bullseye): resolved 2. | https://security-tracker.debian.org/tracker/CVE-2025-66568 |
ubuntu
|
medium | CVE-2025-66568 medium priority: Ubuntu including 1 source packages (ruby-saml), 8 status rows across 8 suites (bionic, focal, jammy, noble, plucky, questing, upstream, xenial): needs-triage 6, DNE 1, ignored 1. | https://ubuntu.com/security/CVE-2025-66568 |