Vulnerability

CVE-2026-79769

highCVSS 4.0 8.7Published 25 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Nokogiri versions before 1.19.4 contain a possible invalid (out-of-bounds) memory read in the protected internal Node#initialize_copy_with_args helper behind Node#dup and #clone, which unwrapped its source argument as an xmlNode without a type check. If application code calls this protected method with a non-Node argument (e.g., a Namespace), it reads an xmlNs out of bounds, crashing the process. This is only triggerable by a programming error and cannot be triggered by untrusted input or normal use of the public API. Only CRuby is affected. Version 1.19.4 adds a type check and raises TypeError.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /sparklemotion/nokogiri/security/advisories/GHSA-g9g8-vgvw-…
  • www.vulncheck.com /advisories/nokogiri-before-invalid-memory-read-via-initial…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning