- Accueil
- Vulnérabilités
- CVE-2026-136156
CVE-2026-136156
Valkey: Integer truncation in cluster publish message construction causes a heap buffer overflow
Résumé
In Valkey before 7.2.15, 8.0.x before 8.0.12, 8.1.x before 8.1.11, 9.0.x before 9.0.7, 9.1.x before 9.1.3 and 9.2.0-rc1, running in cluster mode, clusterCreatePublishMsgBlock computes the length of the cluster bus message for a PUBLISH or SPUBLISH as a size_t but passes it to createClusterMsgSendBlock as a uint32_t. When the channel and message together exceed 4 GiB, the length is truncated, a buffer far smaller than the message is allocated, and the full channel and message are then copied into it. An authenticated user who can publish, for example by building the arguments in a script, can overflow the heap with attacker-controlled bytes. This reliably crashes the server and may lead to remote code execution. Servers that do not run in cluster mode are not affected.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Valkey (6 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Valkey | avant 7.2.15 (exclu) |
— | CNA (éditeur ou attributeur) |
| Valkey | de 8.0.0 (inclus) à 8.0.12 (exclu) |
— | CNA (éditeur ou attributeur) |
| Valkey | de 8.1.0 (inclus) à 8.1.11 (exclu) |
— | CNA (éditeur ou attributeur) |
| Valkey | de 9.0.0 (inclus) à 9.0.7 (exclu) |
— | CNA (éditeur ou attributeur) |
| Valkey | de 9.1.0 (inclus) à 9.1.3 (exclu) |
— | CNA (éditeur ou attributeur) |
| Valkey | de 9.2.0-rc1 (inclus) à 9.2.0-rc2 (exclu) |
— | CNA (éditeur ou attributeur) |
Correctif
Correctifsource officielle
Upgrade to Valkey 7.2.15, 8.0.12, 8.1.11, 9.0.7, 9.1.3, 9.2.0-rc2 or later.
Source : CNA (éditeur ou attributeur)
Contournement
Contournementsource officielle
Use Valkey ACLs to restrict the scripting commands (EVAL, EVALSHA, EVAL_RO, EVALSHA_RO, FCALL, FCALL_RO and FUNCTION) if your application does not use them, and do not raise proto-max-bulk-len above its default.
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
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)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:Akrites)- Faiblesse
- CWE-197 · Autre (CWE-197)