SecurityContext

CVE-2026-57438: Nokogiri - Use After Free

  • Cve: CVE-2026-57438
  • Name: Nokogiri - Use After Free
  • Description: Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, XInclude substitution performed by Nokogiri::XML::Node#do_xinclude replaced each <xi:include> in place, freeing the include node along with its children (such as <xi:fallback> and its descendants) and any namespaces declared on them. If an application had already exposed one of those nodes or namespaces to Ruby, the corresponding Ruby object was left pointing at freed memory. Using the object could result in invalid reads or writes to memory. This vulnerability is fixed in 1.19.4.
  • Impact: Attackers can cause invalid memory reads or writes, potentially leading to application crashes or arbitrary code execution.
  • Remediation: Update to version 1.19.4 or later.
  • Vulnerability type: use_after_free
  • Requirements: Application must expose affected nodes or namespaces to Ruby objects
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.6
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
  • Epss score: 0.00125
  • Epss percentile: 0.02171
  • Assignee: [email protected]
  • Published at: 2026-06-25T16:16:42Z
  • Age in days: 152
  • Modified at: 2026-10-25T22:10:00Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-57438
  • Nvd status: analyzed
  • Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-416Use After Free

References

UrlSourceTags
https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-wfpw-mmfh-qq69nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
nokogiri:nokogiri< 1.19.4nonvd/v1/products/nokogiri/nokogiri

Projects

RepositoryLink kindsIndexedUrl
sparklemotion/nokogirisecurity_advisoryyes/v1/repositories/sparklemotion/nokogiri

Index

  • Repositories: 389
  • Repositories high signal: 182
  • Packages: 1

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts