What’s Vulnerable › Vulnerabilities

CVE-2026-79771: Nokogiri before 1.19.3 Memory Leak via XSLT Transform

Description

Nokogiri versions before 1.19.3 contain a memory leak in the XSLT Stylesheet transform method when processing Ruby strings containing null bytes. Attackers can exploit this by passing attacker-controlled input with null bytes to transform parameters, causing heap allocations to leak and enabling denial of service against long-running processes.

Affected products

How to fix

Upgrade to a fixed version: sparklemotion nokogiri 1.19.3; Rubygems Nokogiri 1.19.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-79771 or the next vulnerability affects your stack