CVE-2025-46819: Redis is an open source, in-memory database that persists on disk.
High CVSS 7.1
- CVE id
- CVE-2025-46819
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Redis Runtimes and servers |
< 6.2.20 >= 7.0, < 7.2.11 >= 7.4.0, < 7.4.6 >= 8.0.0, < 8.0.4 >= 8.2.0, < 8.2.2 |
6.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2 |
How to fix it
Upgrade Redis to the fixed release of the line you run: 6.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2.
redis-server --version
- Install the patched Redis release of your series (the redis image tag or your packages) and restart it; on a managed service, apply the provider's maintenance update.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
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 read out-of-bound data or crash the server and subsequent denial of service. 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 block a script by restricting both the EVAL and FUNCTION command families.
References
- CVE-2025-46819 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-46819
- Web: https://github.com/redis/redis/commit/3a1624da2449ac3dbfc4bdaed43adf77a0b7bfba
- Web: https://github.com/redis/redis/releases/tag/8.2.2
- Web: https://github.com/redis/redis/security/advisories/GHSA-4c68-q8q8-3g4f
- Web: https://www.vicarius.io/vsociety/posts/cve-2025-46819-detect-redis-vulnerability
- Web: https://www.vicarius.io/vsociety/posts/cve-2025-46819-mitigate-redis-vulnerability
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.