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

CVE-2026-126366

msgpack-java JRuby decoder allocates from declared header counts with no cap: 5-byte message forces multi-GiB OOM

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

Moyen 45/100

Résumé

MessagePack for Ruby is an implementation of the MessagePack binary serialization format. Prior to 1.8.7, the Java-platform msgpack gem for JRuby allocated arrays and byte buffers directly from attacker-controlled array32, str32, and bin32 declared sizes before confirming that corresponding elements or bytes were available. A short MessagePack header could therefore trigger a very large allocation or sustained heap growth when an application decoded untrusted input through MessagePack.unpack or MessagePack::Unpacker, potentially exhausting the shared JVM heap. map32 and declared counts at or above 2^31 did not use the affected allocation behavior. This issue is fixed in version 1.8.7.

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

Produits et versions affectés

Msgpack (1 ligne(s))
Msgpack
ProduitVersionsCorrigé dansSource
msgpack-ruby Versions non précisées — CNA (éditeur ou attributeur)
Rubygems (1 ligne(s))
Rubygems
ProduitVersionsCorrigé dansSource
msgpack avant 1.8.7 (exclu) 1.8.7 GitHub Advisory

Correctif

Mise à jour — RubyGems/msgpack 1.8.7source 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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:GitHub_M)
Faiblesse
CWE-770 · Autre (CWE-770)

Comment sont obtenues et calculées ces données