{"id":"CVE-2026-79769","published":"2026-08-25T15:16:02Z","modified":"2026-08-26T16:11:11Z","title":"Nokogiri before 1.19.4 Invalid Memory Read via initialize_copy_with_args","vendor":"sparklemotion","product":"nokogiri","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00306,"percentile":0.24031,"provenance":"source"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-g9g8-vgvw-g3vf","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/nokogiri-before-invalid-memory-read-via-initialize-copy-with-args","tags":["third-party-advisory"]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":4.81},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"sparklemotion","affectedVersions":[{"vendor":"sparklemotion","product":"nokogiri","versions":["< 1.19.4"]}],"fixedVersions":[{"vendor":"sparklemotion","product":"nokogiri","versions":["1.19.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-26T15:58:51.364011Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-65527","exploited":false,"provenance":"source"}}