
CVE catalog
CVE-2026-57438
Nokogiri is an open source XML and HTML library for…
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, XInclude substitution performed by Nokogiri::XML::Node#do_xinclude replaced each <xi:include> in place, freeing the include node along with its children (such as <xi:fallback> and its descendants) and any namespaces declared on them. If an application had already exposed one of those nodes or namespaces to Ruby, the corresponding Ruby object was left pointing at freed memory. Using the object could result in invalid reads or writes to memory. This vulnerability is fixed in 1.19.4.
- Severity
- Medium · CVSS 6.2
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.13% · 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": 1140769,
"name": "ruby-nokogiri",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "1.19.4+dfsg-1"
},
{
"bug": 1140769,
"name": "ruby-nokogiri",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "1.19.4+dfsg-1"
},
{
"bug": 1140769,
"name": "ruby-nokogiri",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": 1140769,
"name": "ruby-nokogiri",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": ""
}
],
"distribution_packages": [
{
"name": "ruby-nokogiri",
"ecosystem": "cpe",
"fixed_version": "not yet fixed"
},
{
"name": "nokogiri",
"ecosystem": "cpe",
"fixed_version": "1.19.4"
},
{
"name": "nokogiri",
"ranges": [
{
"fixed": "1.19.4",
"introduced": "",
"last_affected": "",
"start_excluding": ""
}
],
"ecosystem": "cpe",
"fixed_version": "1.19.4",
"provider_record_id": "NVD-CVE-2026-57438"
}
]
}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/sparklemotion/nokogiri/security/advisories/GHSA-wfpw-mmfh-qq69]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-57438]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-57438]
- [https://security-tracker.debian.org/tracker/CVE-2026-57438]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-57438.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]