CVE-2025-49844: Redis is an open source, in-memory database that persists on disk CRITICAL 9.9 UPGRADE UPGRADE
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 score 9.9 (Critical) Attack vector Network (remote) Attack complexity Low Privileges needed Low User interaction None EPSS exploit chance 82.6% (top 1%) CISA exploited list No Weakness CWE-416 Published 2025-10-03 Last modified 2026-10-19
Share: LinkedIn · X · Reddit
Last updated 2026-10-19 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Timeline 2025-10-03 20:15 UTC Published CVE record published2026-10-19 16:10 UTC Updated Record last modifiedredis 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
Copy apt-cache policy redis || rpm -q redis || redis --version
2. UPGRADE to 6.2.20 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade redis
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade redis
Note
Copy 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)
Copy 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)
Copy dnf --showduplicates list redis
sudo dnf downgrade redis-<VERSION_BEFORE_7.0>
sudo dnf versionlock add redis
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy 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
Copy apt-cache policy valkey || rpm -q valkey || valkey --version
2. UPGRADE to 7.2.11 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade valkey
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade valkey
Note
Copy 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)
Copy 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)
Copy dnf --showduplicates list valkey
sudo dnf downgrade valkey-<VERSION_BEFORE_8.0.0>
sudo dnf versionlock add valkey
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
Exact fixes by distribution Show all
Fedora 46 · wordpress ·
FIXED · 7.1.4-1.fc46 · FEDORA-2026-907394725e ·
source Copy sudo dnf upgrade --advisory=FEDORA-2026-907394725e
Fedora ELN · rhc ·
FIXED · 0.3.15-1.eln159 · FEDORA-2026-1cd9f35750 ·
source Copy sudo dnf upgrade --advisory=FEDORA-2026-1cd9f35750
Debian 12 · redis · FIXED · 5:7.0.15-1~deb12u6
Copy 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
Copy 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
Copy 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
Copy sudo dnf upgrade --advisory=RHSA-2025:19675
rpm -q valkey
RHEL 9 · redis · FIXED · redis-6.2.20-1.el9_6
Copy sudo dnf upgrade --advisory=RHSA-2025:19237
rpm -q redis
RHEL 9 · valkey · FIXED · valkey-8.0.6-2.el9_7
Copy 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
Copy 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
Copy sudo dnf upgrade --advisory=RHSA-2025:19086
rpm -q redis
Alpine 3.20 · valkey · FIXED · valkey-7.2.11-r0
Copy apk add --upgrade valkey
apk info -v valkey
Alpine 3.21 · valkey · FIXED · valkey-7.2.11-r0
Copy apk add --upgrade valkey
apk info -v valkey
Alpine 3.21 · redis · FIXED · redis-7.2.11-r0
Copy apk add --upgrade redis
apk info -v redis
Alpine 3.22 · valkey · FIXED · valkey-8.1.4-r0
Copy apk add --upgrade valkey
apk info -v valkey
Copy 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 CVE-2025-46817 HIGH 7.0 UPGRADE Redis is an open source, in-memory database that persists on diskCVE-2025-46819 MEDIUM 6.3 UPGRADE Redis is an open source, in-memory database that persists on diskCVE-2025-46818 MEDIUM 6.0 UPGRADE Redis is an open source, in-memory database that persists on diskCVE-2025-62507 HIGH 8.8 UPGRADE Redis is an open source, in-memory database that persists on diskCVE-2026-25243 HIGH 8.8 UPGRADE Redis is an in-memory data structure storeReferences ← Back to latest CVEs