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

[CVE catalog]

Severity
Medium · CVSS 6.9CVSS: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.

DistributionPackageReleaseVersionStatus
Debianruby-nokogirisid1.19.4+dfsg-1fixed
Debianruby-nokogiriforky1.19.4+dfsg-1fixed
Debianruby-nokogiritrixie1.18.2+dfsg-1vulnerable
Debianruby-nokogiribookworm1.13.10+dfsg-2vulnerable
CpenokogiriNot reported1.19.3fixed
RubygemsnokogiriNot reported1.19.3fixed
Ubunturuby-nokogiripro1.11.1+dfsg-2ubuntu1vulnerable
Ubunturuby-nokogiripro1.11.7+dfsg-3vulnerable
Ubunturuby-nokogiripro1.11.7+dfsg-3build1vulnerable
Ubunturuby-nokogiripro1.13.1+dfsg-2vulnerable
Ubunturuby-nokogiripro1.13.1+dfsg-2ubuntu0.1~esm1vulnerable
Ubunturuby-nokogiri16.041.6.6.2+ds-2build2vulnerable
Ubunturuby-nokogiri16.041.6.6.3-1vulnerable
Ubunturuby-nokogiri16.041.6.7-1vulnerable
Ubunturuby-nokogiri16.041.6.7.1-1vulnerable
Ubunturuby-nokogiri16.041.6.7.2-3vulnerable
Ubunturuby-nokogiri16.041.6.7.2-3build1vulnerable
Ubunturuby-nokogiri16.041.6.7.2-3ubuntu0.1vulnerable
Ubunturuby-nokogiri18.041.8.0-1vulnerable
Ubunturuby-nokogiri18.041.8.1-1vulnerable
Ubunturuby-nokogiri18.041.8.1-1build1vulnerable
Ubunturuby-nokogiri18.041.8.2-1build1vulnerable
Ubunturuby-nokogiri18.041.8.2-1ubuntu0.1vulnerable
Ubunturuby-nokogiri24.041.14.3+dfsg-2vulnerable
Ubunturuby-nokogiri24.041.16.2+dfsg-1vulnerable
Ubunturuby-nokogiri24.041.16.2+dfsg-1build1vulnerable
Ubunturuby-nokogiri26.041.18.2+dfsg-1build1vulnerable
Ubunturuby-nokogiri26.041.18.10+dfsg-2vulnerable
Ubunturuby-nokogiri26.041.18.10+dfsg-3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-nokogirisourcesid1.19.3+dfsg-1not yet assignedNot reportedNot reported
Debianruby-nokogirisourceforky1.19.3+dfsg-1not yet assignedNot reportedNot reported
Debianruby-nokogirisourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianruby-nokogirisourcebookworm(unfixed)not yet assignedNot reportedNot reported
CpenokogiricpeNot reported1.19.3Not reportedNVD-CVE-2026-79771Not reported
RubygemsnokogirirubygemsNot reported1.19.3Not reportedGHSA-V2FC-QM4H-8HQVNot 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 · bookworm

      Affected

      nvd · ruby-nokogiri · debian · bookworm; nvd · ruby-nokogiri · debian · 12

    • 1.13.10+dfsg-2+b1 · arm64 · bookworm

      Affected

      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 · trixie

      Affected

      nvd · ruby-nokogiri · debian · 13

    • 1.18.2+dfsg-1+b1 · arm64 · trixie

      Affected

      nvd · ruby-nokogiri · debian · 13

Observed:

References