THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-3w22-6jfg-527w (low) — Nokogiri: Use-After-Free in Nokogiri when replacing an attribute value

[GHSA] GHSA-3w22-6jfg-527w (low) — Nokogiri: Use-After-Free in Nokogiri when replacing an attribute value

medgithub_advisoriesPublished 2026-11-10

GHSA-3w22-6jfg-527w Severity: low CVE: CVE-2026-126064

Nokogiri: Use-After-Free in Nokogiri when replacing an attribute value

### Summary

Nokogiri's CRuby native extension could leave a Ruby wrapper pointing to freed memory when replacing the value of an existing XML attribute via `Nokogiri::XML::Node#[]=` or `Nokogiri::XML::Node#lang=`. If Ruby code had already accessed the attribute's child n

Indicators of compromise

Original source: https://github.com/advisories/GHSA-3w22-6jfg-527w