Invalid Memory Read in Nokogiri Versions Affects CRuby Users
CVE-2026-79769

8.7HIGH

Key Information:

Status
Vendor
CVE Published:
25 August 2026

What is CVE-2026-79769?

Nokogiri versions prior to 1.19.4 include a flaw in the Node#initialize_copy_with_args method, allowing a potential out-of-bounds memory read. This occurs when an application mistakenly utilizes a non-Node argument, such as a Namespace, leading to the reading of memory associated with xmlNs beyond its intended bounds. While this issue cannot be exploited via untrusted input or standard API usage, it significantly impacts developers due to its dependence on programming errors. Version 1.19.4 rectifies this by implementing a necessary type check, enforcing better type safety during method calls.

Affected Version(s)

nokogiri 0 < 1.19.4

nokogiri 1.19.4

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

cla7aye15I4nd
.