CVE-2026-57434 PUBLISHED

Nokogiri: Null Pointer Dereference calling methods on uninitialized wrapper classes

Assigner: GitHub_M
Reserved: 24.06.2026 Published: 25.06.2026 Updated: 25.06.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U
CVSS Score: 1.7

Product Status

Vendor sparklemotion
Product nokogiri
Versions
  • Version < 1.19.4 is affected

References

Problem Types

  • CWE-476: NULL Pointer Dereference CWE