Skip to main content
EPSS 0.3%top 78%

CVE-2026-79769: Access of Resource Using Incompatible Type ('Type Confusion') in sparklemotion nokogiri

0
High
VulnerabilityCVE-2026-79769cvecve-2026-79769
Published: 08/25/2026 (08/25/2026, 15:16:02 UTC)
Source: CVE Database V5
Vendor/Project: sparklemotion
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

sparklemotion

nokogiri

Affected versions
>=0 <1.19.4

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 04:07:48 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses