CVE-2026-79769: Access of Resource Using Incompatible Type ('Type Confusion') in sparklemotion nokogiri
Description
Nokogiri versions before 1.19.4 have a type confusion vulnerability in an internal helper method used by Node duplication and cloning. This flaw allows an invalid memory read if the method is called with an incompatible argument type, causing a crash. The issue affects only CRuby and requires a programming error to trigger; it cannot be exploited via untrusted input or normal API use. Version 1.19.4 introduces a type check that raises a TypeError to prevent this.
CVSS v4.0
Score 8.7high
Affected software
sparklemotion
nokogiri
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-79769 describes a type confusion vulnerability in the Nokogiri library before version 1.19.4. The internal method Node#initialize_copy_with_args, used by Node#dup and #clone, unwraps its source argument as an xmlNode without verifying its type. If called with a non-Node argument such as a Namespace, it performs an out-of-bounds read of an xmlNs structure, leading to a process crash. This vulnerability requires a programming error to be triggered and cannot be exploited through normal or untrusted inputs. The fix in version 1.19.4 adds a type check that raises a TypeError when the argument type is incompatible.
Potential Impact
The vulnerability can cause a denial-of-service condition by crashing the process due to an out-of-bounds memory read. It does not allow remote code execution or data corruption and cannot be triggered by untrusted input or normal API usage. Only CRuby implementations of Nokogiri are affected.
Mitigation Recommendations
Upgrade to Nokogiri version 1.19.4 or later, which includes a type check that prevents this vulnerability by raising a TypeError on incompatible argument types. Since the issue requires a programming error to trigger and cannot be exploited via untrusted input, no additional mitigation is necessary.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-25T14:29:43.527Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a8dba55acd9273b4965b680
Added to database: 08/25/2026, 15:52:53 UTC
Last enriched: 09/10/2026, 04:07:48 UTC
Last updated: 10/10/2026, 18:48:22 UTC
Views: 51
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.