{"id":"CVE-2026-79769","aliases":["CVE-2026-79769"],"related":[],"kind":"vulnerability","state":"published","title":"Nokogiri before 1.19.4 Invalid Memory Read via initialize_copy_with_args","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-08-25T15:16:02.372Z","modified":"2026-09-24T20:43:32.537Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-843"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.19.4","status":"affected"},{"type":"semver","version":"1.19.4","status":"unaffected"}],"vendor":"sparklemotion","product":"nokogiri","source":"cvelist"}],"references":[{"url":"https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-g9g8-vgvw-g3vf","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/nokogiri-before-invalid-memory-read-via-initialize-copy-with-args","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["cla7aye15I4nd"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-26T15:58:51.364Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-79769","url":"https://www.cve.org/CVERecord?id=CVE-2026-79769","licence":"CVE Terms of Use","modified":"2026-08-26T16:11:11.096Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-79769","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-79769","licence":"Public domain","modified":"2026-09-24T20:43:32.537Z"}],"updatedAt":"2026-11-25T22:59:35.173Z","epss":{"score":0.00181,"percentile":0.08033,"date":"2026-12-01T12:00:22.000Z"}}