CVE-2026-57434: CWE-476: NULL Pointer Dereference in sparklemotion nokogiri
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri contains a bug when calling certain methods on allocated-but-uninitialized native wrapper classes that inherit from Nokogiri::XML::Node. This caused a NULL pointer dereference that could crash the process. This vulnerability is fixed in 1.19.4.
AI Analysis
Technical Summary
CVE-2026-57434 is a NULL pointer dereference vulnerability in the Nokogiri library before version 1.19.4. The flaw occurs when methods are invoked on native wrapper classes that are allocated but not properly initialized, specifically those inheriting from Nokogiri::XML::Node. This leads to a NULL pointer dereference and crashes the process. The vulnerability has a low CVSS score of 1.7 and does not involve user interaction or privileges. It is fixed in Nokogiri version 1.19.4.
Potential Impact
The vulnerability causes a denial of service by crashing the process using Nokogiri when the affected methods are called on uninitialized native wrapper objects. There is no indication of code execution, data corruption, or information disclosure. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade Nokogiri to version 1.19.4 or later, where this NULL pointer dereference vulnerability is fixed. No other mitigation is indicated or required.
CVE-2026-57434: CWE-476: NULL Pointer Dereference in sparklemotion nokogiri
Description
Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri contains a bug when calling certain methods on allocated-but-uninitialized native wrapper classes that inherit from Nokogiri::XML::Node. This caused a NULL pointer dereference that could crash the process. This vulnerability is fixed in 1.19.4.
CVSS v4.0
Score 1.7low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-57434 is a NULL pointer dereference vulnerability in the Nokogiri library before version 1.19.4. The flaw occurs when methods are invoked on native wrapper classes that are allocated but not properly initialized, specifically those inheriting from Nokogiri::XML::Node. This leads to a NULL pointer dereference and crashes the process. The vulnerability has a low CVSS score of 1.7 and does not involve user interaction or privileges. It is fixed in Nokogiri version 1.19.4.
Potential Impact
The vulnerability causes a denial of service by crashing the process using Nokogiri when the affected methods are called on uninitialized native wrapper objects. There is no indication of code execution, data corruption, or information disclosure. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade Nokogiri to version 1.19.4 or later, where this NULL pointer dereference vulnerability is fixed. No other mitigation is indicated or required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-24T13:21:20.728Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3d3f304853345fc113d185
Added to database: 06/25/2026, 14:46:08 UTC
Last enriched: 06/25/2026, 15:01:45 UTC
Last updated: 06/25/2026, 20:16:07 UTC
Views: 3
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.
External Links
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.