# CVE-2026-79769: Nokogiri before 1.19.4 Invalid Memory Read via initialize_copy_with_args

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-08-25T15:16:02.372Z
- Modified: 2026-09-24T20:43:32.537Z
- Weaknesses: CWE-843
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- sparklemotion nokogiri: before 1.19.4 (not affected: 1.19.4)

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-g9g8-vgvw-g3vf> (vendor-advisory)
- <https://www.vulncheck.com/advisories/nokogiri-before-invalid-memory-read-via-initialize-copy-with-args> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-79769](https://www.cve.org/CVERecord?id=CVE-2026-79769), CVE Terms of Use, modified 2026-08-26
- NVD: [CVE-2026-79769](https://nvd.nist.gov/vuln/detail/CVE-2026-79769), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-79769 · Whole record: https://cve.day/CVE-2026-79769.json · Rebuilt by cve.day 2026-11-25T22:59:35.173Z
