
CVE catalog
CVE-2026-79771
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-control
- Severity
- Medium · CVSS 6.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.42% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-nokogiri | sid | 1.19.4+dfsg-1 | fixed |
| Debian | ruby-nokogiri | forky | 1.19.4+dfsg-1 | fixed |
| Debian | ruby-nokogiri | trixie | 1.18.2+dfsg-1 | vulnerable |
| Debian | ruby-nokogiri | bookworm | 1.13.10+dfsg-2 | vulnerable |
| Cpe | nokogiri | Not reported | 1.19.3 | fixed |
| Rubygems | nokogiri | Not reported | 1.19.3 | fixed |
| Ubuntu | ruby-nokogiri | pro | 1.11.1+dfsg-2ubuntu1 | vulnerable |
| Ubuntu | ruby-nokogiri | pro | 1.11.7+dfsg-3 | vulnerable |
| Ubuntu | ruby-nokogiri | pro | 1.11.7+dfsg-3build1 | vulnerable |
| Ubuntu | ruby-nokogiri | pro | 1.13.1+dfsg-2 | vulnerable |
| Ubuntu | ruby-nokogiri | pro | 1.13.1+dfsg-2ubuntu0.1~esm1 | vulnerable |
| Ubuntu | ruby-nokogiri | 16.04 | 1.6.6.2+ds-2build2 | vulnerable |
| Ubuntu | ruby-nokogiri | 16.04 | 1.6.6.3-1 | vulnerable |
| Ubuntu | ruby-nokogiri | 16.04 | 1.6.7-1 | vulnerable |
| Ubuntu | ruby-nokogiri | 16.04 | 1.6.7.1-1 | vulnerable |
| Ubuntu | ruby-nokogiri | 16.04 | 1.6.7.2-3 | vulnerable |
| Ubuntu | ruby-nokogiri | 16.04 | 1.6.7.2-3build1 | vulnerable |
| Ubuntu | ruby-nokogiri | 16.04 | 1.6.7.2-3ubuntu0.1 | vulnerable |
| Ubuntu | ruby-nokogiri | 18.04 | 1.8.0-1 | vulnerable |
| Ubuntu | ruby-nokogiri | 18.04 | 1.8.1-1 | vulnerable |
| Ubuntu | ruby-nokogiri | 18.04 | 1.8.1-1build1 | vulnerable |
| Ubuntu | ruby-nokogiri | 18.04 | 1.8.2-1build1 | vulnerable |
| Ubuntu | ruby-nokogiri | 18.04 | 1.8.2-1ubuntu0.1 | vulnerable |
| Ubuntu | ruby-nokogiri | 24.04 | 1.14.3+dfsg-2 | vulnerable |
| Ubuntu | ruby-nokogiri | 24.04 | 1.16.2+dfsg-1 | vulnerable |
| Ubuntu | ruby-nokogiri | 24.04 | 1.16.2+dfsg-1build1 | vulnerable |
| Ubuntu | ruby-nokogiri | 26.04 | 1.18.2+dfsg-1build1 | vulnerable |
| Ubuntu | ruby-nokogiri | 26.04 | 1.18.10+dfsg-2 | vulnerable |
| Ubuntu | ruby-nokogiri | 26.04 | 1.18.10+dfsg-3 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-nokogiri | source | sid | 1.19.3+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | ruby-nokogiri | source | forky | 1.19.3+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | ruby-nokogiri | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | ruby-nokogiri | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | nokogiri | cpe | Not reported | 1.19.3 | Not reported | NVD-CVE-2026-79771 | Not reported |
| Rubygems | nokogiri | rubygems | Not reported | 1.19.3 | Not reported | GHSA-V2FC-QM4H-8HQV | Not reported |
Notes
[trixie] ruby-nokogiri: Minor issue [bookworm] ruby-nokogiri: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-nokogiri]Affected
Source package: [ruby-nokogiri]
Details (2)
1.13.10+dfsg-2+b1· amd64 · bookwormAffected
nvd · ruby-nokogiri · debian · bookworm; nvd · ruby-nokogiri · debian · 12
1.13.10+dfsg-2+b1· arm64 · bookwormAffected
nvd · ruby-nokogiri · debian · bookworm; nvd · ruby-nokogiri · debian · 12
[Debian 13 (Trixie)]
- [ruby-nokogiri]Affected
Source package: [ruby-nokogiri]
Details (2)
1.18.2+dfsg-1+b1· amd64 · trixieAffected
nvd · ruby-nokogiri · debian · 13
1.18.2+dfsg-1+b1· arm64 · trixieAffected
nvd · ruby-nokogiri · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://github.com/advisories/GHSA-v2fc-qm4h-8hqv]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-79771]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-79771]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-79771]
- [https://security-tracker.debian.org/tracker/CVE-2026-79771]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-79771.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]