CVE-2026-79769
Nokogiri before 1.19.4 Invalid Memory Read via initialize_copy_with_args
CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-843 |
| Vendor | sparklemotion |
| Product | nokogiri |
| Published | Aug 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for sparklemotion nokogiri
Be the first to know when new medium vulnerabilities affecting sparklemotion nokogiri are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
sparklemotion / nokogiri
0 < 1.19.4
References
Credits
๐ cla7aye15I4nd