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

CVE-2026-130822

Valkey: Use-after-free when client eviction frees the client whose command is still executing

Publiée le 24 nov. 2026 · modifiée le 1 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 44/100

Résumé

In Valkey before 7.2.16, 8.0.x before 8.0.13, 8.1.x before 8.1.12, 9.0.x before 9.0.8, 9.1.x before 9.1.4 and 9.2.0 release candidates, when client eviction is enabled (maxmemory-clients is not 0), an authenticated user who can write to a key that other clients are blocked on (for example with BLPOP, BLMPOP, BZPOPMIN or XREAD BLOCK) can trigger a use-after-free. While the clients blocked on that key are served, evictClients() can select and free the client whose command made the key ready, although that command is still executing, and the server then keeps using the freed client. The blocked clients do not have to belong to the attacker. The result is a reliable crash of the server process. Servers with the default maxmemory-clients 0 are not affected.

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

Produits et versions affectés

Valkey (6 ligne(s))
Valkey
ProduitVersionsCorrigé dansSource
Valkey avant 7.2.16 (exclu) — CNA (éditeur ou attributeur)
Valkey de 8.0.0 (inclus) à 8.0.13 (exclu) — CNA (éditeur ou attributeur)
Valkey de 8.1.0 (inclus) à 8.1.12 (exclu) — CNA (éditeur ou attributeur)
Valkey de 9.0.0 (inclus) à 9.0.8 (exclu) — CNA (éditeur ou attributeur)
Valkey de 9.1.0 (inclus) à 9.1.4 (exclu) — CNA (éditeur ou attributeur)
Valkey de 9.2.0-rc1 (inclus) à 9.2.0 (exclu) — CNA (éditeur ou attributeur)

Correctif

Correctifsource officielle

Upgrade to Valkey 7.2.16, 8.0.13, 8.1.12, 9.0.8, 9.1.4, 9.2.0 or later.

Source : CNA (éditeur ou attributeur)

Contournement

Contournementsource officielle

Set maxmemory-clients to 0, which disables client eviction; if you do, make sure client-output-buffer-limit and maxmemory still bound client memory. If client eviction is required, use Valkey ACLs so that untrusted users cannot write to keys that other clients block on, and cannot run the blocking commands (BLPOP, BRPOP, BLMOVE, BRPOPLPUSH, BLMPOP, BZPOPMIN, BZPOPMAX, BZMPOP, and XREAD or XREADGROUP with BLOCK).

Source : CNA (éditeur ou attributeur)

Savoir si vous êtes touché

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

Chronologie

  1. — 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:H/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:Akrites)
Faiblesse
CWE-416 · Corruption mémoire

Comment sont obtenues et calculées ces données