- Accueil
- Vulnérabilités
- CVE-2026-126064
CVE-2026-126064
Nokogiri: Possible Use-After-Free when setting an attribute value via `Nokogiri::XML::Node#[]=` or `#lang=`
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| nokogiri | Versions non précisées | — | CNA (éditeur ou attributeur) |
Rubygems (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-3w22-6jfg-527w — Nokogiri: Use-After-Free in Nokogiri when replacing an attribute value 10 nov. 2026
Références
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-3w22-6jfg-527wx_refsource_CONFIRM
- https://github.com/sparklemotion/nokogiri/pull/3752x_refsource_MISC
- https://github.com/sparklemotion/nokogiri/commit/b15b518db9fd15fd6b046f73d1439c282e5cc425x_refsource_MISC
- https://github.com/sparklemotion/nokogiri/commit/feaed3c8c9bd9d81d064d4ca09b16044cd705d6fx_refsource_MISC
- https://github.com/sparklemotion/nokogiri/releases/tag/v1.19.5x_refsource_MISC
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/GHSA-3w22-6jfg-527w.ymlWEB
- https://github.com/sparklemotion/nokogiriPACKAGE
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