Use After Free Affecting redis package, versions <8.0.4-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
5.66% (90th 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-ALPINE322-REDIS-13488932
  • published8 Oct 2025
  • disclosed3 Oct 2025

Introduced: 3 Oct 2025

NewCVE-2025-49844  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Alpine:3.22 redis to version 8.0.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis package and not the redis package as distributed by Alpine. See How to fix? for Alpine:3.22 relevant fixed versions and status.

Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted Lua script to manipulate the garbage collector, trigger a use-after-free and potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This issue is fixed in version 8.2.2. To workaround this issue 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.

CVSS Base Scores

version 3.1