CVE-2022-24834 | Heap overflow issue with the Lua cjson library used by Redis

Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.

Published: 2023-07-13 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-24834 is rated Moderate Risk (60.7/100): CVSS High severity, with high exploitation likelihood (EPSS 42.92%, 99th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-24834

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 44.71% 42.92% -1.79%
2 2026-06-12 49.32% 44.71% -4.61%
3 2026-06-05 49.32%

Full EPSS history (36 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-24834

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.0 3.1 HIGH
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.0 5.9 [email protected]
8.8 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 [email protected]

Weakness enumeration for CVE-2022-24834

OS Trackers for CVE-2022-24834

vendor priority summary link
alpine high CVE-2022-24834: 1 source package rows (redis); 61 state rows across 8 repos (3.17-main, 3.18-main, 3.19-main, 3.20-community, 3.21-community, 3.22-community, edge-community, edge-main); fixed 8, open 53. https://security.alpinelinux.org/vuln/CVE-2022-24834
debian not yet assigned CVE-2022-24834 not yet assigned priority: Debian including 1 source packages (redis), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-24834
gentoo normal CVE-2022-24834: 1 GLSA(s) (202408-05), 1 atom(s) (dev-db/redis); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-24834
redhat medium https://access.redhat.com/security/cve/CVE-2022-24834
suse high CVE-2022-24834 severity important: SUSE including 10 source package names (redis-6.0.14-150200.6.26.1, redis-6.2.17-1.el9_5, …), 27 product×package rows across 21 product lines (SUSE Enterprise Storage 7, SUSE Enterprise Storage 7.1, … (21 product lines)): Fixed 27. https://www.suse.com/security/cve/CVE-2022-24834/
ubuntu medium CVE-2022-24834 medium priority: Ubuntu including 3 source packages (lua-cjson, lua-cmsgpack, redis), 24 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 8, needed 5, not-affected 5, DNE 2, ignored 2, needs-triage 2. https://ubuntu.com/security/CVE-2022-24834

Affected software / configurations for CVE-2022-24834

Vendor Product Version Raw CPE
redis redis >= 2.6.0, < 6.0.20 cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
redis redis >= 6.2.0, < 6.2.13 cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
redis redis >= 7.0.0, < 7.0.12 cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
fedoraproject fedora 37 cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
fedoraproject fedora 38 cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*

References for CVE-2022-24834

cvelogic Threat Intelligence