Nokogiri versions before 1.19.1 fail to check the return value from xmlC14NExecute in the canonicalize method, returning an empty string on failure instead of raising an exception. Attackers can exploit this to bypass signature validation in downstream SAML libraries by providing invalid canonicalized XML that is incorrectly accepted as valid.

Project Subscriptions

Vendors Products
Nokogiri Subscribe
Nokogiri Subscribe
Sparklemotion Subscribe
Nokogiri Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-wx95-c6cv-8532 Nokogiri does not check the return value from xmlC14NExecute
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 01 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:*

Fri, 28 Aug 2026 23:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 25 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Sparklemotion
Sparklemotion nokogiri
Vendors & Products Sparklemotion
Sparklemotion nokogiri

Tue, 25 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Description Nokogiri versions before 1.19.1 fail to check the return value from xmlC14NExecute in the canonicalize method, returning an empty string on failure instead of raising an exception. Attackers can exploit this to bypass signature validation in downstream SAML libraries by providing invalid canonicalized XML that is incorrectly accepted as valid.
Title Nokogiri before 1.19.1 Unchecked Return Value canonicalize
First Time appeared Nokogiri
Nokogiri nokogiri
Weaknesses CWE-252
CPEs cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:*:*:*
Vendors & Products Nokogiri
Nokogiri nokogiri
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-28T22:24:47.141Z

Reserved: 2026-08-25T14:29:43.528Z

Link: CVE-2026-79772

cve-icon Vulnrichment

Updated: 2026-08-28T22:24:43.048Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-25T16:17:28.743

Modified: 2026-09-01T14:54:24.567

Link: CVE-2026-79772

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-25T15:16:04Z

Links: CVE-2026-79772 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T17:45:04Z

Weaknesses