1. Accueil
  2. Vulnérabilités
  3. CVE-2026-126064

CVE-2026-126064

Nokogiri: Possible Use-After-Free when setting an attribute value via `Nokogiri::XML::Node#[]=` or `#lang=`

Publiée le 10 nov. 2026 · modifiée le 12 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 9/100

Résumé

Nokogiri is an open source XML and HTML library for the Ruby programming language. Prior to 1.19.5, the CRuby native extension can leave Ruby wrappers pointing to freed memory when Nokogiri::XML::Node#[]= or Nokogiri::XML::Node#lang= replaces an existing attribute value after code has accessed the attribute's child nodes. Replacing the value frees native child nodes while their wrappers remain reachable, and later use of those wrappers can cause an invalid read or process segfault. JRuby is not affected. This issue is fixed in version 1.19.5.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

sparklemotion (1 ligne(s))
sparklemotion
ProduitVersionsCorrigé dansSource
nokogiri Versions non précisées — CNA (éditeur ou attributeur)
Rubygems (1 ligne(s))
Rubygems
ProduitVersionsCorrigé dansSource
nokogiri avant 1.19.5 (exclu) 1.19.5 GitHub Advisory

Correctif

Mise à jour — RubyGems/nokogiri 1.19.5source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N (CVSS 4.0, CNA:GitHub_M)
Faiblesse
CWE-416 · Corruption mémoire

Comment sont obtenues et calculées ces données