Advisory

UBUNTU-CVE-2025-49844

Also known as: CVE-2025-49844

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.9, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Dates

Published
2025-10-03 20:15 UTC
Modified
2026-10-17 12:58 UTC

Affected packages and fixes

14 affected packages
PackageSystemAffectedFix
lua5.1Debian packages (deb) · Ubuntu 14.04introduced 0No fixed version is listed.
lua50Debian packages (deb) · Ubuntu 16.04introduced 0No fixed version is listed.
lua5.1Debian packages (deb) · Ubuntu 18.04introduced 0No fixed version is listed.
lua50Debian packages (deb) · Ubuntu 18.04introduced 0No fixed version is listed.
lua50Debian packages (deb) · Ubuntu 20.04introduced 0No fixed version is listed.
lua5.1Debian packages (deb) · Ubuntu 24.04introduced 0No fixed version is listed.
redisDebian packages (deb) · Ubuntu 24.04Earlier versionssudo apt-get update && sudo apt-get upgrade
valkeyDebian packages (deb) · Ubuntu 24.04Earlier versionssudo apt-get update && sudo apt-get upgrade
lua5.1Debian packages (deb) · Ubuntu 25.10introduced 0No fixed version is listed.
redictDebian packages (deb) · Ubuntu 25.10Earlier versionssudo apt-get update && sudo apt-get upgrade
redisDebian packages (deb) · Ubuntu 25.10Earlier versionssudo apt-get update && sudo apt-get upgrade
valkeyDebian packages (deb) · Ubuntu 25.10Earlier versionssudo apt-get update && sudo apt-get upgrade
lua5.1Debian packages (deb) · Ubuntu 26.10introduced 0No fixed version is listed.
lua5.1Debian packages (deb) · Ubuntu 26.04introduced 0No fixed version is listed.

Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences