Use After Free Affecting redis:7/redis-doc package, versions <0:7.2.11-1.module_el9.6.0+188+92104ce8


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
8.06% (92nd 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-ALMALINUX9-REDIS-13861986
  • published9 Nov 2025
  • disclosed30 Oct 2025

Introduced: 30 Oct 2025

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

How to fix?

Upgrade AlmaLinux:9 redis:7/redis-doc to version 0:7.2.11-1.module_el9.6.0+188+92104ce8 or higher.
This issue was patched in ALSA-2025:19345.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis:7/redis-doc package and not the redis:7/redis-doc package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 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