CVE-2026-79769

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability24. percentile0.3%
ProductSparklemotion Nokogiri
PublishedAug 25, 2026
First seenAug 25, 2026
Weakness typeCWE-843CWE-843

How to fix

Update
  • sparklemotion nokogiri1.19.4 or later

Affected products

ProductAffected versionsFixed in
sparklemotion nokogiriv < 1.19.41.19.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.