# CVE-2026-57434: Nokogiri: Null Pointer Dereference calling methods on uninitialized wrapper classes

- Severity: Low 1.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-06-19T16:36:23.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-9cv2-cfxc-v4v2
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- sparklemotion nokogiri: < 1.19.4
- nokogiri (RubyGems): before 1.19.4
- nokogiri nokogiri: before 1.19.4

## Every score

- GitHub_M: CVSS:4.0 1.7 Low `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`
- GitHub: CVSS:4.0 Low `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-9cv2-cfxc-v4v2> (mitigation, vendor-advisory, web)
- <https://github.com/sparklemotion/nokogiri> (package)

## Sources

- CVE List: [CVE-2026-57434](https://www.cve.org/CVERecord?id=CVE-2026-57434), CVE Terms of Use, modified 2026-06-25
- GitHub Advisory Database: [GHSA-9cv2-cfxc-v4v2](https://github.com/advisories/GHSA-9cv2-cfxc-v4v2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-57434](https://nvd.nist.gov/vuln/detail/CVE-2026-57434), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-57434 · Whole record: https://cve.day/CVE-2026-57434.json · Rebuilt by cve.day 2026-11-25T22:59:26.370Z
