CVE catalog

CVE-2026-79769

Nokogiri versions before 1.19.4 contain a possible…

[CVE catalog]

Nokogiri versions before 1.19.4 contain a possible invalid (out-of-bounds) memory read in the protected internal Node#initialize_copy_with_args helper behind Node#dup and #clone, which unwrapped its source argument as an xmlNode without a type check. If application code calls this protected method with a non-Node argument (e.g., a Namespace), it reads an xmlNs out of bounds, crashing the process. This is only triggerable by a programming error and cannot be triggered by untrusted input or normal use of the public API. Only CRuby is affected. Version 1.19.4 adds a type check and raises TypeError.

Severity
High · CVSS 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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.31% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "ruby-nokogiri",
      "status": "fixed",
      "release": "sid",
      "version": "1.19.4+dfsg-1"
    },
    {
      "name": "ruby-nokogiri",
      "status": "fixed",
      "release": "forky",
      "version": "1.19.4+dfsg-1"
    },
    {
      "name": "ruby-nokogiri",
      "status": "vulnerable",
      "release": "trixie",
      "version": "1.18.2+dfsg-1"
    },
    {
      "name": "ruby-nokogiri",
      "status": "not affected",
      "release": "bookworm",
      "version": "1.13.10+dfsg-2"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "ruby-nokogiri",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "1.19.4+dfsg-1"
    },
    {
      "bug": null,
      "name": "ruby-nokogiri",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "1.19.4+dfsg-1"
    },
    {
      "bug": null,
      "name": "ruby-nokogiri",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "ruby-nokogiri",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "unimportant",
      "fixed_version": "0"
    }
  ],
  "distribution_packages": [
    {
      "name": "ruby-nokogiri",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "1.11.1+dfsg-2ubuntu1",
        "1.11.7+dfsg-3",
        "1.11.7+dfsg-3build1",
        "1.13.1+dfsg-2",
        "1.13.1+dfsg-2ubuntu0.1~esm1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-79769"
    },
    {
      "name": "ruby-nokogiri",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "16.04",
      "versions": [
        "1.6.6.2+ds-2build2",
        "1.6.6.3-1",
        "1.6.7-1",
        "1.6.7.1-1",
        "1.6.7.2-3",
        "1.6.7.2-3build1",
        "1.6.7.2-3ubuntu0.1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-79769"
    },
    {
      "name": "ruby-nokogiri",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "18.04",
      "versions": [
        "1.8.0-1",
        "1.8.1-1",
        "1.8.1-1build1",
        "1.8.2-1build1",
        "1.8.2-1ubuntu0.1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-79769"
    },
    {
      "name": "ruby-nokogiri",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "24.04",
      "versions": [
        "1.14.3+dfsg-2",
        "1.16.2+dfsg-1",
        "1.16.2+dfsg-1build1"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-79769"
    },
    {
      "name": "ruby-nokogiri",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "release": "26.04",
      "versions": [
        "1.18.2+dfsg-1build1",
        "1.18.10+dfsg-2",
        "1.18.10+dfsg-3"
      ],
      "ecosystem": "deb",
      "fixed_version": "",
      "provider_record_id": "UBUNTU-CVE-2026-79769"
    }
  ]
}

Publisher notes

[trixie] ruby-nokogiri: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [ruby-nokogiri]Unknown

    Source package: [ruby-nokogiri]

    Details (2)
    • 1.13.10+dfsg-2+b1 · amd64 · bookworm

      Not affected

      nvd · ruby-nokogiri · debian · bookworm

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

      Not affected

      nvd · ruby-nokogiri · debian · bookworm

[Debian 13 (Trixie)]

  • [ruby-nokogiri]Unknown

    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