VulnarioBlogRedis vulnerabilities
Redis Vulnerabilities: The 10 Most Critical Redis Security Bugs (CVEs)
Redis vulnerabilities are security flaws in Redis that attackers can abuse to steal data, take over a server or interrupt a service. Redis is an in-memory data store used as a cache, database and message broker. The National Vulnerability Database (NVD) lists 68 CVEs for Redis, 10 of them rated critical, and 4 were published in the last 12 months. CISA lists 1 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.
This guide lists the 10 most critical Redis security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers Redis security basics, the current end-of-life dates and a free way to be told about the next Redis CVE as soon as it is published.
Key takeaways
- 1 CVE is in CISA's KEV catalog, so attackers have exploited it in the wild.
- 10 Redis CVEs are rated critical (CVSS v3), and 4 new ones were published in the last 12 months.
- The newest CVE in this guide is CVE-2025-49844, published Oct 3, 2025.
- Supported Redis releases today (per endoflife.date): 8.10, 8.8, 8.6, 8.4, 8.2, 8.0. Releases not on the list are past their announced end of life.
- You can monitor Redis for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.
How we ranked these Redis CVEs
We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.
Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.
The 10 most critical Redis CVEs at a glance
| # | CVE | CVSS | Published | Type | CISA KEV |
|---|---|---|---|---|---|
| 1 | CVE-2022-0543 | 10.0 Critical | 2022-02-18 | Debian-specific Redis Server Lua Sandbox Escape | Yes |
| 2 | CVE-2025-49844 | 9.9 Critical | 2025-10-03 | Use after free | No |
| 3 | CVE-2025-27151 | 9.8 Critical | 2025-05-29 | Improper input validation | No |
| 4 | CVE-2024-46981 | 9.8 Critical | 2025-01-06 | Use after free | No |
| 5 | CVE-2022-3734 | 9.8 Critical | 2022-10-28 | Critical security flaw | No |
| 6 | CVE-2022-35951 | 9.8 Critical | 2022-09-23 | Integer overflow | No |
| 7 | CVE-2018-11218 | 9.8 Critical | 2018-06-17 | Out-of-bounds write | No |
| 8 | CVE-2018-11219 | 9.8 Critical | 2018-06-17 | Integer overflow | No |
| 9 | CVE-2017-15047 | 9.8 Critical | 2017-10-06 | Memory buffer overflow | No |
| 10 | CVE-2016-8339 | 9.8 Critical | 2016-10-28 | Out-of-bounds write | No |
Each Redis CVE explained
1. CVE-2022-0543: Debian-specific Redis Server Lua Sandbox Escape
- What NVD says
- It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific) Lua sandbox escape, which could result in remote code execution.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- See the NVD record for the full list of affected versions.
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
2. CVE-2025-49844: Use after free
- What NVD says
- 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.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing low privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 6.2.20; 7.0 to before 7.2.11; 7.4.0 to before 7.4.6; 8.0.0 to before 8.0.4
- What to do
- Upgrade to the fixed release for your branch (6.2.20, 7.2.11, 7.4.6) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
3. CVE-2025-27151: Improper input validation
- What NVD says
- Redis is an open source, in-memory database that persists on disk. In versions starting from 7.0.0 to before 8.0.2, a stack-based buffer overflow exists in redis-check-aof due to the use of memcpy with strlen(filepath) when copying a user-supplied file path into a fixed-size stack buffer. This allows an attacker to overflow the stack and potentially achieve code execution.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 7.0.0 to before 7.2.9; 7.4.0 to before 7.4.4; 8.0.0 to before 8.0.2
- What to do
- Upgrade to the fixed release for your branch (7.2.9, 7.4.4, 8.0.2) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
4. CVE-2024-46981: Use after free
- What NVD says
- Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 6.2.0 to before 6.2.17; 7.2.0 to before 7.2.7; 7.4.0 to before 7.4.2
- What to do
- Upgrade to the fixed release for your branch (6.2.17, 7.2.7, 7.4.2) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
5. CVE-2022-3734: Critical security flaw
- What NVD says
- A vulnerability was found in a port or fork of Redis. It has been declared as critical. This vulnerability affects unknown code in the library C:/Program Files/Redis/dbghelp.dll. The manipulation leads to uncontrolled search path. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- See the NVD record for the full list of affected versions.
- What to do
- Apply the vendor's security update for your release and restart the service.
6. CVE-2022-35951: Integer overflow
- What NVD says
- Redis is an in-memory database that persists on disk. Versions 7.0.0 and above, prior to 7.0.5 are vulnerable to an Integer Overflow. Executing an `XAUTOCLAIM` command on a stream key in a specific state, with a specially crafted `COUNT` argument may cause an integer overflow, a subsequent heap overflow, and potentially lead to remote code execution. This has been patched in Redis version 7.0.5.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 7.0.0 to before 7.0.5
- What to do
- Upgrade to 7.0.5 or a later release, then restart the service.
7. CVE-2018-11218: Out-of-bounds write
- What NVD says
- Memory Corruption was discovered in the cmsgpack library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10, and 5.x before 5.0 RC2 because of stack-based buffer overflows.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 3.2.12; 4.0 to before 4.0.10; 5.0
- What to do
- Upgrade to the fixed release for your branch (3.2.12, 4.0.10) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
8. CVE-2018-11219: Integer overflow
- What NVD says
- An Integer Overflow issue was discovered in the struct library in the Lua subsystem in Redis before 3.2.12, 4.x before 4.0.10, and 5.x before 5.0 RC2, leading to a failure of bounds checking.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- before 3.2.12; 4.0 to before 4.0.10; 5.0
- What to do
- Upgrade to the fixed release for your branch (3.2.12, 4.0.10) or a later one, then restart the service.
- Advisory
- Vendor advisory or patch (opens in a new tab)
9. CVE-2017-15047: Memory buffer overflow
- What NVD says
- The clusterLoadConfig function in cluster.c in Redis 4.0.2 allows attackers to cause a denial of service (out-of-bounds array index and application crash) or possibly have unspecified other impact by leveraging "limited access to the machine."
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 4.0.2
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
10. CVE-2016-8339: Out-of-bounds write
- What NVD says
- A buffer overflow in Redis 3.2.x prior to 3.2.4 causes arbitrary code execution when a crafted command is sent. An out of bounds write vulnerability exists in the handling of the client-output-buffer-limit option during the CONFIG SET command for the Redis data structure store. A crafted CONFIG SET command can lead to an out of bounds write potentially resulting in code execution.
- How it can be attacked
- Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
- Affected versions
- 3.2.0; 3.2.1; 3.2.2; 3.2.3
- What to do
- Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).
Redis end of life: which versions still get security fixes
Running a release that still receives security fixes is the most effective way to avoid Redis vulnerabilities. After a release reaches end of life, newly published CVEs stay unpatched. As of Nov 3, 2026 the supported Redis releases are 8.10, 8.8, 8.6, 8.4, 8.2, 8.0.
| Release | Released | End of life | Latest | Status |
|---|---|---|---|---|
| Redis 8.10 | Jul 29, 2026 | Not announced | 8.10.3 | Supported |
| Redis 8.8 | May 25, 2026 | Not announced | 8.8.4 | Supported |
| Redis 8.6 | Feb 11, 2026 | Not announced | 8.6.8 | Supported |
| Redis 8.4 | Nov 18, 2025 | Not announced | 8.4.8 | Supported |
| Redis 8.2 | Aug 4, 2025 | Sep 1, 2030 | 8.2.11 | Supported |
| Redis 8.0 | May 2, 2025 | Dec 1, 2026 | 8.0.6 | Supported |
| Redis 7.4 | Jul 29, 2024 | Dec 1, 2029 | 7.4.12 | Supported |
| Redis 7.2 | Aug 15, 2023 | Dec 1, 2029 | 7.2.17 | Supported |
Dates come from endoflife.date (opens in a new tab), which tracks each project's own support policy. Confirm them with the vendor before planning an upgrade.
How to check if your Redis is vulnerable
Find the exact version first, then compare it with the affected and fixed versions in each CVE above.
redis-server --version
On Linux, Debian, Ubuntu and RHEL-based distributions often backport security fixes and keep the old version number, so a package that looks old can already be patched. Check your distribution's own security tracker or the package changelog before concluding that a server is exposed.
Redis security checklist
- Never expose the database port to the internet; allow only the application servers.
- Use strong, unique credentials and least-privilege accounts for each application.
- Apply minor and security releases on a regular cadence, after testing.
- Encrypt connections with TLS and encrypt backups.
- Restrict or remove admin tools you do not need.
- Test restoring from backup, not only creating backups.
Where you run Redis matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating Redis: on most plans the operating system and applications are yours to patch unless the plan says otherwise.
Your stack is bigger than Redis. A flaw anywhere in the chain can be the way in, so also review our guides to Memcached vulnerabilities, MongoDB vulnerabilities and Docker vulnerabilities.
How to get alerted about new Redis vulnerabilities
NVD received 4 new Redis CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:
- Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
- Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
- Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.
Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose Redis and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.
- Free: all technologies, alerts grouped at most every 12 hours.
- Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.
Related security guides
Few stacks run Redis alone. These guides cover the technologies it is most often deployed with.
- Memcached vulnerabilities: Memcached is a high-performance in-memory caching system.
- MongoDB vulnerabilities: MongoDB is the most popular document-oriented NoSQL database.
- Docker vulnerabilities: Docker is the standard tool for building and running containers.
- CouchDB vulnerabilities: Apache CouchDB is a document-oriented NoSQL database with an HTTP API.
- Rails vulnerabilities: Ruby on Rails is a full-stack web framework written in Ruby.
- RabbitMQ vulnerabilities: RabbitMQ is a widely used open-source message broker.
Frequently asked questions about Redis vulnerabilities
What are the most critical Redis vulnerabilities?
Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical Redis CVEs include CVE-2022-0543 (CVSS 10.0), CVE-2025-49844 (CVSS 9.9), CVE-2025-27151 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.
Have Redis vulnerabilities been exploited in real attacks?
Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 1 Redis CVE, including CVE-2022-0543. Treat these as the highest priority to patch.
How many vulnerabilities does Redis have?
As of Nov 3, 2026 the National Vulnerability Database lists 68 CVEs for Redis, with 10 rated critical by CVSS v3. 4 were published in the previous twelve months.
Which Redis versions are still supported?
As of Nov 3, 2026, endoflife.date lists these Redis releases as supported: 8.10, 8.8, 8.6, 8.4, 8.2, 8.0. Releases that are not listed are past their announced end of life.
How do I check which Redis version I run?
Run redis-server --version on the server and compare the result with the fixed versions in each CVE. On Debian, Ubuntu and RHEL-based systems, fixes are often backported without changing the version number, so also check your distribution's security tracker.
How can I get alerted when a new Redis CVE is published?
Add Redis to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose Redis and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.
Is Redis secure?
Redis is as secure as its patch level. NVD published 4 new Redis CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.
What is CVE-2022-0543?
CVE-2022-0543 is a critical Redis vulnerability with a CVSS score of 10.0, published Feb 18, 2022. It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific) Lua sandbox escape, which could result in remote code execution.
Sources
- National Vulnerability Database (NVD) (opens in a new tab), CVE records, CVSS scores and CPE counts, checked Nov 3, 2026.
- CISA Known Exploited Vulnerabilities (KEV) catalog (opens in a new tab), checked Nov 3, 2026.
- endoflife.date: Redis (opens in a new tab), release and support dates, checked Nov 3, 2026.
This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.