CVE-2024-31449
CVE-2024-31449 is a high-severity vulnerability in Redis with a CVSS 3.x base score of 7.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.
Key facts
- Severity: High (CVSS 3.x base score 7.0)
- EPSS exploit prediction: 4% (90th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-29337
- Weakness: CWE-20
- Affected product: Redis
- Published:
- Last modified:
Description
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Frequently asked questions
- What is CVE-2024-31449?
- Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- How severe is CVE-2024-31449?
- CVE-2024-31449 has a CVSS 3.x base score of 7.0, rated high severity. It is exploitable over local access with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-31449 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (90th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-31449?
- CVE-2024-31449 primarily affects Redis. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-31449?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-31449 have an EU (EUVD) identifier?
- Yes. CVE-2024-31449 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-29337.
- When was CVE-2024-31449 published?
- CVE-2024-31449 was published on 2024-10-07 and last updated on 2026-06-17.
References
- https://github.com/redis/redis/commit/1f7c148be2cbacf7d50aa461c58b871e87cc5ed9
- https://github.com/redis/redis/security/advisories/GHSA-whxg-wx83-85p5
Affected products (4)
- cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
- cpe:2.3:a:redis:redis:7.4.0:-:*:*:*:*:*:*
- cpe:2.3:a:redis:redis:7.4.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:redis:redis:7.4.0:rc2:*:*:*:*:*:*
More vulnerabilities in Redis
- CVE-2022-0543 — Critical (CVSS 10.0): It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a…
- CVE-2025-49844 — 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…
- CVE-2026-25243 — High (CVSS 8.8): Redis is an in-memory data structure store. In versions of redis-server up to 8.6.3, the RESTORE command does not…
- CVE-2026-23479 — High (CVSS 8.8): Redis is an in-memory data structure store. In redis-server from 7.2.0 until 8.6.3, the unblock client flow does not…
- CVE-2025-62507 — High (CVSS 8.8): Redis is an open source, in-memory database that persists on disk. In versions 8.2.0 and above, a user can run the…
- CVE-2026-23631 — High (CVSS 8.1): Redis is an in-memory data structure store. In all versions of redis-server with Lua scripting, an authenticated…
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48277 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48055 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download any video media. In versions 2.4.0 and…
- CVE-2026-34910 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS…
- CVE-2026-33587 — Critical (CVSS 10.0): Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →