CVE-2022-24834: Redis Lua cjson Heap Overflow
- Vendors
- Fedora ProjectRedis
CVE-2022-24834 is a heap-based buffer overflow in the cjson library used by Redis Lua scripting. A specially crafted Lua script can corrupt heap memory and may potentially lead to remote code execution. The issue affects Redis versions with Lua scripting support from version 2.6 onward and is limited to authenticated, authorized users.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation causes heap corruption and may potentially permit remote code execution in the Redis server process.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to Redis so that only trusted administrators and applications can authenticate and execute Lua scripts. Review and minimize user permissions, disable or avoid untrusted Lua script execution where operationally feasible, and limit network exposure of Redis instances until patched. Monitoring for abnormal crashes or misuse of Lua scripting can help reduce exposure, but patching is the primary mitigation.
Remediation
Patch, then assume compromise.
Upgrade Redis to version 7.0.12, 6.2.13, 6.0.20, or a later fixed release.
Exploits
2 exploits validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-24834 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2022-24834 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2022-24834?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2022-24834, the earliest disclosed Jul 28, 2023.
- Is there a patch for CVE-2022-24834?
- Upgrade Redis to version 7.0.12, 6.2.13, 6.0.20, or a later fixed release.
- What products are affected by CVE-2022-24834?
- Redis and Fedora Project Fedora.
- How severe is CVE-2022-24834?
- CVE-2022-24834 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 41.4% (99th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.