GHSA-wfpw-mmfh-qq69
CVE-2026-57438
How to Fix This Vulnerability
Upgrade to a fixed version
Remediation Steps
- 1Upgrade the package to version 1.19.4 or later
- 2Review and audit affected systems for potential exploitation
- 3Implement additional security controls if immediate patching is not possible
- 4Monitor for suspicious activity related to this vulnerability
Mitigation Strategies
- Immediate PatchingHigh
Apply security patches to version 1.19.4 immediately
- Network SegmentationMedium
Isolate affected systems from untrusted networks until patching is complete
- Monitoring and DetectionMedium
Implement enhanced monitoring for exploitation attempts and unusual behavior
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.
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. This vulnerability involves weaknesses in
Impact Assessment
This medium-severity vulnerability could be exploited under certain conditions to compromise security controls or access sensitive information. Should be addressed in a timely manner.
Attack Characteristics
- Attack Vector
- LOCAL
- Complexity
- HIGH
- Privileges Required
- NONE
- User Interaction
- NONE
CVSS v3.1 Metrics Breakdown
- attack Vector
- LOCAL
- attack Complexity
- HIGH
- privileges Required
- NONE
- user Interaction
- NONE
- scope
- Unchanged
- confidentiality Impact
- Medium
- integrity Impact
- Medium
- availability Impact
- Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:HVulnerability Timeline
- 2026-06-25T16:16:42.130Vulnerability publishedpublished
- 2026-06-25T16:16:42.130Patches released: 1.19.4patched