- Accueil
- Vulnérabilités
- CVE-2026-136155
CVE-2026-136155
Valkey: Use-after-free of the Lua interpreter state through the script debugger's command cache
Résumé
In Valkey 9.1.0 and 9.1.1, the Lua script debugger builds its command table once and caches it with a pointer to the Lua interpreter state that was current at the time. SCRIPT FLUSH ASYNC recreates the scripting engine and frees the previous interpreter state without invalidating that cache, so the next debugger command dereferences freed memory. An authenticated user who can run scripting commands can use this to reliably crash the server, and by reclaiming the freed heap chunk with attacker-controlled bytes can escalate it to control of an indirect call, which may lead to remote code execution. The fix also addresses a second use-after-free in ldbLogStackValue. Valkey 8.0.x and 8.1.x use the previous debugger and are not affected.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Valkey (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Valkey | de 9.1.0 (inclus) à 9.1.2 (exclu) |
— | CNA (éditeur ou attributeur) |
Correctif
Correctifsource officielle
Upgrade to Valkey 9.1.2 or later.
Source : CNA (éditeur ou attributeur)
Contournement
Contournementsource officielle
Use Valkey ACLs to restrict the SCRIPT command, in particular SCRIPT DEBUG, if your application does not use the script debugger.
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-416 · Corruption mémoire