p PatchFirst

CVE-2026-136157

CVE-2026-136157 · Valkey: Use-after-free in the RDMA transport when a client is freed while pending data is processed

CVSS 7.5 · High · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • valkeyUpdate to 8.0.11 / 8.1.10 / 9.0.6 …
  • valkey Debian 13No fix published
  • valkey Debian 14Update to 9.1.2-1
  • valkey Ubuntu Pro 24.04 LTSNo fix published
  • and 2 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="valkey"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

In Valkey 8.0.x before 8.0.11, 8.1.x before 8.1.10, 9.0.x before 9.0.6 and 9.1.x before 9.1.2, the RDMA transport's pending-data handler walks its connection list with an iterator that caches the next entry. A command processed from inside that loop, such as CLIENT KILL, can synchronously free another client's connection, and closing an RDMA connection did not remove it from the pending list, so the handler then uses freed memory. An authenticated user can use this to reliably crash the server, and the freed heap chunk can be reclaimed with attacker-influenced bytes. Only servers built with RDMA support (USE_RDMA) and configured with an RDMA listener are affected.

Published
Updated

Fixes in distributions

Stack: system · database

Affected products and versions

  • valkey

    Versions
    • ≥ 8.0.0, < 8.0.11: Affected (semver)
    • ≥ 8.1.0, < 8.1.10: Affected (semver)
    • ≥ 9.0.0, < 9.0.6: Affected (semver)
    • ≥ 9.1.0, < 9.1.2: Affected (semver)

    Update to 8.0.11; Update to 8.1.10; Update to 9.0.6; Update to 9.1.2

  • valkey Debian 13

    Versions
    • 8.1.1+dfsg1-3
    • 8.1.1+dfsg1-3+deb13u1
    • 8.1.1+dfsg1-3+deb13u2
    • 8.1.1+dfsg1-3+deb13u3
    • 8.1.4+dfsg1-1
    • 8.1.4+dfsg1-2
    All versions (10)
    • 9.1.1-1
    • 9.1.2-1
    • 9.1.3-1
    • 9.1.4-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • valkey Debian 14

    Versions
    • 8.1.1+dfsg1-3
    • 8.1.4+dfsg1-1
    • 8.1.4+dfsg1-2
    • 9.1.1-1
    Affected ranges
    • ECOSYSTEM: < 9.1.2-1

    Update to 9.1.2-1

  • valkey Ubuntu Pro 24.04 LTS

    Versions
    • 7.2.5+dfsg1-2ubuntu4~24.04.1
    • 7.2.7+dfsg1-0ubuntu0.24.04.1
    • 7.2.8+dfsg1-0ubuntu0.24.04.1
    • 7.2.8+dfsg1-0ubuntu0.24.04.2
    • 7.2.8+dfsg1-0ubuntu0.24.04.3
    • 7.2.10+dfsg1-0ubuntu0.1
    All versions (12)
    • 7.2.11+dfsg1-0ubuntu0.1
    • 7.2.11+dfsg1-0ubuntu0.2
    • 7.2.12+dfsg1-0ubuntu0.1
    • 7.2.13+dfsg1-0ubuntu0.1
    • 7.2.13+dfsg1-0ubuntu0.1+esm1
    • 7.2.14+dfsg1-0ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • valkey Ubuntu 26.10

    Versions
    • 9.0.3-0ubuntu2
    • 9.0.4-0ubuntu1
    • 9.1.1-0ubuntu2
    • 9.1.2-0ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • valkey Ubuntu 26.04 LTS

    Versions
    • 8.1.3+dfsg1-0ubuntu2
    • 8.1.4+dfsg1-0ubuntu1
    • 9.0.2-0ubuntu1
    • 9.0.3-0ubuntu1
    • 9.0.3-0ubuntu2
    • 9.0.4-0ubuntu0.1
    All versions (8)
    • 9.0.4-0ubuntu0.2
    • 9.0.6-0ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →