Use After Free The advisory has been revoked - it doesn't affect any version of package redis  (opens in a new tab)


Threat Intelligence

EPSS
8.17% (95th 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 IDSNYK-UBUNTU2504-REDIS-9792466
  • published18 Dec 2025
  • disclosed6 Jan 2025

Introduced: 6 Jan 2025

CVE-2024-46981  (opens in a new tab)
CWE-416  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:25.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis package and not the redis package as distributed by Ubuntu.

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.