Skip to main content
CVE-2026-57438VulnerabilityPublished Updated

Ruby nokogiri: Prior to 1.19.4, XInclude substitution performed by Nokogiri::XML::Node#do_xinclude replaced each

Affects ruby-nokogiriSource GCVE Database

0
Compare
Authoritative record:CVE-2026-57438· Low 2.2

Not known to be exploited · CVSS 2.2 Low · fixed in 1.19.4 : update ruby-nokogiri when convenient.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 4.0 base score
2.2Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.19.4
CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:U

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10ruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=stonkingOther threatsAffected
  • 1.18.10+dfsg-3 – 1.19.4+dfsg-1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=resoluteOther threatsAffected
  • =1.18.2+dfsg-1build1
  • =1.18.10+dfsg-2
  • =1.18.10+dfsg-3
Fixed in–
Ubuntu 25.10ruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=questingOther threatsAffected
  • =1.16.4+dfsg-1build1
  • =1.18.2+dfsg-1build1
Fixed in–
Ubuntu 24.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=nobleOther threatsAffected
  • =1.14.3+dfsg-2
  • =1.16.2+dfsg-1
  • =1.16.2+dfsg-1build1
Fixed in–
Ubuntu Pro 22.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=esm-apps/jammyOther threatsAffected
  • 1.11.1+dfsg-2ubuntu1 – 1.13.1+dfsg-2ubuntu0.1~esm1
5 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSruby-nokogiripkg:deb/ubuntu/ruby-nokogiri?arch=source&distro=esm-apps/focalOther threatsAffected
  • 1.10.3+dfsg1-2 – 1.10.7+dfsg1-2ubuntu0.1~esm2
6 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…