Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-91071.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-91071
Upstream
Published
2026-06-25T15:16:41Z
Modified
2026-08-28T17:48:12Z
Summary
CVE-2026-57437 affecting package rubygem-nokogiri for versions less than 1.19.4-1
Details

Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.4, Nokogiri::XML::XPathContext did not keep its source document alive for garbage collection. If an XPathContext outlived its document and the document was collected, evaluating an XPath expression could read invalid memory and potentially segfault. This is only reachable when application code constructs an XPathContext directly and lets the document become unreachable while continuing to use the context. The normal Document#xpath, #css, and related search methods are not affected, and it is not triggerable by malicious document input. This vulnerability is fixed in 1.19.4.

References

Affected packages

Azure Linux:3 / rubygem-nokogiri

Package

Name
rubygem-nokogiri
Purl
pkg:rpm/azure-linux/rubygem-nokogiri

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.19.4-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-91071.json"