Use After Free Affecting antirez/redis package, versions [,6.2.24)[7.0-rc1,7.2.16)[7.4-rc1,7.4.11)[8.0,8.2.9)[8.4-int,8.4.6)[8.6-rc1,8.6.6)[8.8-m02,8.8.2)[8.10-m01-int,8.10.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-ANTIREZREDIS-19433482
  • published31 Aug 2026
  • disclosed28 Aug 2026
  • credithexamine

Introduced: 28 Aug 2026

NewCVE-2026-81934  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade antirez/redis to version 6.2.24, 7.2.16, 7.4.11, 8.2.9, 8.4.6, 8.6.6, 8.8.2, 8.10.1 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free in tlsProcessPendingData() and the adlist iterator, where listNext() caches current->next before returning the current node. A user able to issue commands over the TLS interface, such as EVAL, PUBLISH, SUBSCRIBE, LPOS, RPUSH, DEL, HSET, and HELLO, can achieve remote code execution as the redis-server process user by re-entering the event loop mid command so the cached successor node is unlinked and freed, then dereferenced by the outer loop. This requires TLS to be enabled and the client to hold access to those commands, and the demonstrated exploit targets a specific Redis 8.8.0 build with PIE and the jemalloc allocator.

Workaround

This vulnerability can be avoided by disabling Lua scripting or denying the EVAL command through ACLs, which removes the re-entrancy that frees the cached list node.

CVSS Base Scores

version 4.0
version 3.1