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.
References
| Link | Resource |
|---|---|
| https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-v2fc-qm4h-8hqv | Vendor Advisory |
| https://www.vulncheck.com/advisories/nokogiri-before-memory-leak-via-xslt-transform | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-08-25 16:17
Updated : 2026-09-01 14:55
NVD link : CVE-2026-79771
Mitre link : CVE-2026-79771
CVE.ORG link : CVE-2026-79771
JSON object : View
Products Affected
nokogiri
- nokogiri
CWE
CWE-401
Missing Release of Memory after Effective Lifetime
