Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-49844: Redis is an open source, in-memory database that persists on disk

65
This week
CRITICAL 9.9UPGRADEUPGRADE

CVE-2025-49844 is a critical-severity flaw (CVSS 9.9) affecting redis, valkey. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 preve

Why this priority

  • Critical severity
  • EPSS top 1%: very likely to be exploited
  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score9.9 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance82.6% (top 1%)
CISA exploited listNo
WeaknessCWE-416
Published2025-10-03
Last modified2026-10-19
Publisher (CNA): GitHub, Inc. · Vendor: lfprojects · redis

Share: LinkedIn · X · Reddit

Last updated 2026-10-19 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

redis redis UPGRADE
Affected: < 6.2.20 · >= 7.0 and < 7.2.11 · >= 7.4.0 and < 7.4.6 · >= 8.0.0 and < 8.0.4 · >= 8.2.0 and < 8.2.2
Fixed in: 6.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2
Safe to downgrade to: a release before 7.0
1. Check installed version
apt-cache policy redis || rpm -q redis || redis --version
2. UPGRADE to 6.2.20 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade redis
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade redis
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 7.0 (Debian / Ubuntu)
apt-cache madison redis sudo apt install redis=<VERSION_BEFORE_7.0> sudo apt-mark hold redis
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list redis sudo dnf downgrade redis-<VERSION_BEFORE_7.0> sudo dnf versionlock add redis
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
lfprojects valkey UPGRADE
Affected: < 7.2.11 · >= 8.0.0 and < 8.0.6 · >= 8.1.0 and < 8.1.4
Fixed in: 7.2.11, 8.0.6, 8.1.4
Safe to downgrade to: a release before 8.0.0
1. Check installed version
apt-cache policy valkey || rpm -q valkey || valkey --version
2. UPGRADE to 7.2.11 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade valkey
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade valkey
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 8.0.0 (Debian / Ubuntu)
apt-cache madison valkey sudo apt install valkey=<VERSION_BEFORE_8.0.0> sudo apt-mark hold valkey
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list valkey sudo dnf downgrade valkey-<VERSION_BEFORE_8.0.0> sudo dnf versionlock add valkey
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Fedora 46 · wordpress · FIXED · 7.1.4-1.fc46 · FEDORA-2026-907394725e · source
sudo dnf upgrade --advisory=FEDORA-2026-907394725e
Fedora ELN · rhc · FIXED · 0.3.15-1.eln159 · FEDORA-2026-1cd9f35750 · source
sudo dnf upgrade --advisory=FEDORA-2026-1cd9f35750
Debian 12 · redis · FIXED · 5:7.0.15-1~deb12u6
sudo apt update && sudo apt install --only-upgrade redis dpkg --compare-versions "$(dpkg-query -W -f='${Version}' redis)" ge "5:7.0.15-1~deb12u6" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · redis · FIXED · 5:8.0.2-3+deb13u1
sudo apt update && sudo apt install --only-upgrade redis dpkg --compare-versions "$(dpkg-query -W -f='${Version}' redis)" ge "5:8.0.2-3+deb13u1" && echo PATCHED || echo STILL-VULNERABLE
Debian 13 · valkey · FIXED · 8.1.1+dfsg1-3+deb13u1
sudo apt update && sudo apt install --only-upgrade valkey dpkg --compare-versions "$(dpkg-query -W -f='${Version}' valkey)" ge "8.1.1+dfsg1-3+deb13u1" && echo PATCHED || echo STILL-VULNERABLE
RHEL 10 · valkey · FIXED · valkey-8.0.6-1.el10_0
sudo dnf upgrade --advisory=RHSA-2025:19675 rpm -q valkey
RHEL 9 · redis · FIXED · redis-6.2.20-1.el9_6
sudo dnf upgrade --advisory=RHSA-2025:19237 rpm -q redis
RHEL 9 · valkey · FIXED · valkey-8.0.6-2.el9_7
sudo dnf upgrade --advisory=RHSA-2025:21916 rpm -q valkey
RHEL 9.0 Update Services for SAP Solutions · redis · FIXED · redis-6.2.6-1.el9_0.5
sudo dnf upgrade --advisory=RHSA-2025:18997 rpm -q redis
RHEL 9.2 Update Services for SAP Solutions · redis · FIXED · redis-6.2.7-1.el9_2.5
sudo dnf upgrade --advisory=RHSA-2025:19086 rpm -q redis
Alpine 3.20 · valkey · FIXED · valkey-7.2.11-r0
apk add --upgrade valkey apk info -v valkey
Alpine 3.21 · valkey · FIXED · valkey-7.2.11-r0
apk add --upgrade valkey apk info -v valkey
Alpine 3.21 · redis · FIXED · redis-7.2.11-r0
apk add --upgrade redis apk info -v redis
Alpine 3.22 · valkey · FIXED · valkey-8.1.4-r0
apk add --upgrade valkey apk info -v valkey
Amazon Linux 2023 · see advisory · FIXED · ALAS2023-2025-1222 · source
sudo dnf update --advisory=ALAS2023-2025-1222

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-49844?

redis: upgrade to 6.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2; valkey: upgrade to 7.2.11, 8.0.6, 8.1.4. Exact commands for each OS are on this page.

Is CVE-2025-49844 being exploited?

CVE-2025-49844 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-49844 affect?

CVE-2025-49844 affects redis, valkey. Severity is critical (CVSS 9.9). 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

How urgent is CVE-2025-49844?

Priority 65/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference

Software pages

Redis vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.