Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
sparklemotion nokogiri
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Nokogiri 1.19.4 之前的版本存在一个潜在的无效(越界)内存读取问题。该问题出现在受保护的内部方法 中,此方法被 和 所调用。该方法在将源参数解包为 时未进行类型检查。如果应用程序代码使用非 类型的参数(例如 )调用此受保护方法,会导致从越界位置读取 数据,从而引发程序崩溃。 此漏洞仅由编程错误触发,无法通过不可信输入或正常使用公共 API 来利用。该问题仅影响 CRuby 实现。在版本 1.19.4 中,已添加类型检查,并在检测到错误类型时抛出 。

CVSS 5.5 · Medium

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 2

VendorProduct Version RangeStatus
sparklemotion nokogiri < 1.19.4 affected
1.19.4 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-79769

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Nokogiri before 1.19.4 Invalid Memory Read via initialize_copy_with_args
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
使用不兼容类型访问资源(类型混淆)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
sparklemotion nokogiri 0 ~ 1.19.4 -

II. Public POCs for CVE-2026-79769

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-79769

登录查看更多情报信息。

Vendor Advisories for CVE-2026-79769 (1)

Other References for CVE-2026-79769 (1)

Same Patch Batch · sparklemotion · 2026-08-25 · 14 CVEs total

CVE-2024-58378 9.8 CRITICAL Nokogiri before 1.16.2 Use-After-Free via xmlTextReader
CVE-2022-51000 9.8 CRITICAL Nokogiri before 1.13.2 Multiple Vulnerabilities via libxml2 libxslt
CVE-2025-71407 9.8 CRITICAL Nokogiri before 1.18.3 Stack Buffer Overflow and Use-After-Free
CVE-2022-50999 8.6 HIGH Nokogiri before 1.13.5 Integer Overflow via libxml2
CVE-2025-71406 7.8 HIGH Nokogiri before 1.18.4 Use-After-Free via libxslt
CVE-2023-54354 7.5 HIGH Nokogiri before 1.14.3 Null Pointer Dereference via libxml2
CVE-2026-79770 7.5 HIGH Nokogiri before 1.19.3 ReDoS via CSS selector tokenizer
CVE-2022-50998 7.5 HIGH Nokogiri before 1.13.9 Multiple Vulnerabilities via libxml2
CVE-2021-47996 7.5 HIGH Nokogiri before 1.11.4 Multiple Vulnerabilities via libxml2
CVE-2026-79771 5.3 MEDIUM Nokogiri before 1.19.3 Memory Leak via XSLT Transform
CVE-2026-79772 5.3 MEDIUM Nokogiri before 1.19.1 Unchecked Return Value canonicalize
CVE-2025-71346 2.9 LOW Nokogiri before 1.18.8 Heap Buffer Under-read via XML Schema
CVE-2024-58377 Nokogiri before 1.16.5 libxml2 Dependency Update

IV. Related Vulnerabilities

V. Comments for CVE-2026-79769

No comments yet


Leave a comment