
CVE catalog
CVE-2026-79772
Nokogiri versions before 1.19.1 fail to check the…
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.
- Severity
- Medium · CVSS 6.9
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/E:X/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 - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.34% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "ruby-nokogiri",
"status": "fixed",
"release": "sid",
"version": "1.19.4+dfsg-1"
},
{
"name": "ruby-nokogiri",
"status": "fixed",
"release": "forky",
"version": "1.19.4+dfsg-1"
},
{
"name": "ruby-nokogiri",
"status": "vulnerable",
"release": "trixie",
"version": "1.18.2+dfsg-1"
},
{
"name": "ruby-nokogiri",
"status": "vulnerable",
"release": "bookworm",
"version": "1.13.10+dfsg-2"
}
],
"fixed_versions": [
{
"bug": null,
"name": "ruby-nokogiri",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "1.19.1+dfsg-1"
},
{
"bug": null,
"name": "ruby-nokogiri",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "1.19.1+dfsg-1"
},
{
"bug": null,
"name": "ruby-nokogiri",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": null,
"name": "ruby-nokogiri",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": ""
}
],
"distribution_packages": [
{
"name": "nokogiri",
"ranges": [
{
"fixed": "1.19.1",
"introduced": "1.5.1",
"last_affected": "",
"start_excluding": ""
}
],
"ecosystem": "cpe",
"fixed_version": "1.19.1",
"provider_record_id": "NVD-CVE-2026-79772"
},
{
"name": "nokogiri",
"ecosystem": "rubygems",
"fixed_version": "1.19.1",
"provider_record_id": "GHSA-WX95-C6CV-8532"
},
{
"name": "ruby-nokogiri",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "pro",
"versions": [
"1.11.1+dfsg-2ubuntu1",
"1.11.7+dfsg-3",
"1.11.7+dfsg-3build1",
"1.13.1+dfsg-2",
"1.13.1+dfsg-2ubuntu0.1~esm1"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "UBUNTU-CVE-2026-79772"
},
{
"name": "ruby-nokogiri",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "16.04",
"versions": [
"1.6.6.2+ds-2build2",
"1.6.6.3-1",
"1.6.7-1",
"1.6.7.1-1",
"1.6.7.2-3",
"1.6.7.2-3build1",
"1.6.7.2-3ubuntu0.1"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "UBUNTU-CVE-2026-79772"
},
{
"name": "ruby-nokogiri",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "18.04",
"versions": [
"1.8.0-1",
"1.8.1-1",
"1.8.1-1build1",
"1.8.2-1build1",
"1.8.2-1ubuntu0.1"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "UBUNTU-CVE-2026-79772"
},
{
"name": "ruby-nokogiri",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "24.04",
"versions": [
"1.14.3+dfsg-2",
"1.16.2+dfsg-1",
"1.16.2+dfsg-1build1"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "UBUNTU-CVE-2026-79772"
},
{
"name": "ruby-nokogiri",
"distro": "ubuntu",
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"release": "26.04",
"versions": [
"1.18.2+dfsg-1build1",
"1.18.10+dfsg-2",
"1.18.10+dfsg-3"
],
"ecosystem": "deb",
"fixed_version": "",
"provider_record_id": "UBUNTU-CVE-2026-79772"
}
]
}Publisher notes
[trixie] ruby-nokogiri: Minor issue [bookworm] ruby-nokogiri: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [ruby-nokogiri]Unknown
Source package: [ruby-nokogiri]
Details (2)
1.13.10+dfsg-2+b1· amd64 · bookwormAffected
nvd · ruby-nokogiri · debian · bookworm; nvd · ruby-nokogiri · debian · 12
1.13.10+dfsg-2+b1· arm64 · bookwormAffected
nvd · ruby-nokogiri · debian · bookworm; nvd · ruby-nokogiri · debian · 12
[Debian 13 (Trixie)]
- [ruby-nokogiri]Unknown
Source package: [ruby-nokogiri]
Details (2)
1.18.2+dfsg-1+b1· amd64 · trixieAffected
nvd · ruby-nokogiri · debian · 13
1.18.2+dfsg-1+b1· arm64 · trixieAffected
nvd · ruby-nokogiri · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://github.com/advisories/GHSA-wx95-c6cv-8532]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-79772]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-79772]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-79772]
- [https://security-tracker.debian.org/tracker/CVE-2026-79772]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-79772.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]