ADVISORIES

Vulnerability

CVE-2026-57438

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.

7 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • ALPINE-CVE-2026-57438

    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…

    CVE-2026-57438 Alpine Updated 8 November 2026
  • ALPINE-EDGE-CVE-2026-57438
    CVE-2026-57438 Alpine Updated 18 November 2026
  • AZL-91062

    CVE-2026-57438 affecting package rubygem-nokogiri for versions less than 1.19.4-1

    CVE-2026-57438 Azure Linux Updated 28 August 2026
  • DEBIAN-CVE-2026-57438

    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…

    CVE-2026-57438 Debian Updated 26 October 2026
  • GHSA-wfpw-mmfh-qq69

    Nokogiri: Possible Use-After-Free in XInclude Processing

    Low CVE-2026-57438 RubyGems Updated 10 September 2026
  • SUSEVEX-CVE-2026-57438

    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…

    Important CVE-2026-57438 SUSE Updated 20 October 2026
  • UBUNTU-CVE-2026-57438

    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…

    CVE-2026-57438 Ubuntu Updated 17 October 2026

References