CVE-2023-22458
Integer overflow in multiple Redis commands can lead to denial-of-service
Redis is an in-memory database that persists on disk. Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
5.5
Integer overflow in multiple Redis commands can lead to denial-of-service
Redis is an in-memory database that persists on disk. Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
CVE-2023-22458- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
EUVDEUVD-2023-26619
5.5
Redis is an in-memory database that persists on disk. Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
EUVD-2023-26619- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
NVD
5.5
Redis is an in-memory database that persists on disk. Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
CVE-2023-22458- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSVALPINE-CVE-2023-22458
5.5
Redis is an in-memory database that persists on disk. Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
ALPINE-CVE-2023-22458- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSVAZL-13053
5.5
CVE-2023-22458 affecting package redis for versions less than 6.2.9-1
Redis is an in-memory database that persists on disk. Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
AZL-13053- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2023-22458
5.5
CVE-2023-22458 does not affect BellSoft software
- Record
BELL-CVE-2023-22458- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 10 moreShow less
OSV
5.5
Integer overflow in multiple Redis commands can lead to denial-of-service
Redis is an in-memory database that persists on disk. Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
CVE-2023-22458- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2023-22458
5.5
Redis is an in-memory database that persists on disk. Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
DEBIAN-CVE-2023-22458- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2025:0595
7.0
Red Hat Security Advisory: redis:6 security update
- Record
RHSA-2025:0595- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRLSA-2025:0595
7.0
Important: redis:6 security update
Redis is an advanced key-value store. It is often referred to as a data-structure server since keys can contain strings, hashes, lists, sets, and sorted sets. For performance, Redis works with an in-memory data set. You can persist it either by dumping the data set to disk every once in a while, or by appending each command to a log.
Security Fix(es):
-
redis: Integer overflow in the Redis HRANDFIELD and ZRANDMEMBER commands may lead to denial-of-service (CVE-2023-22458)
-
redis: Integer overflow in the Redis SETRANGE and SORT/SORT_RO commands may result with false OOM panic (CVE-2022-35977)
-
redis: Specially crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands can trigger an integer overflow (CVE-2022-36021)
-
redis: String matching commands (like SCAN or KEYS) with a specially crafted pattern to trigger a denial-of-service attack (CVE-2023-25155)
-
redis: Insufficient validation of HINCRBYFLOAT command (CVE-2023-28856)
-
redis: heap overflow in the lua cjson and cmsgpack libraries (CVE-2022-24834)
-
redis: possible bypass of Unix socket permissions on startup (CVE-2023-45145)
-
redis: Lua library commands may lead to stack overflow and RCE in Redis (CVE-2024-31449)
-
redis: Denial-of-service due to unbounded pattern matching in Redis (CVE-2024-31228)
-
redis: Redis' Lua library commands may lead to remote code execution (CVE-2024-46981)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
RLSA-2025:0595- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2025:0595 No score
Important: redis:6 security update
Redis is an advanced key-value store. It is often referred to as a data-structure server since keys can contain strings, hashes, lists, sets, and sorted sets. For performance, Redis works with an in-memory data set. You can persist it either by dumping the data set to disk every once in a while, or by appending each command to a log.
Security Fix(es):
- redis: Integer overflow in the Redis HRANDFIELD and ZRANDMEMBER commands may lead to denial-of-service (CVE-2023-22458)
- redis: Integer overflow in the Redis SETRANGE and SORT/SORT_RO commands may result with false OOM panic (CVE-2022-35977)
- redis: Specially crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands can trigger an integer overflow (CVE-2022-36021)
- redis: String matching commands (like SCAN or KEYS) with a specially crafted pattern to trigger a denial-of-service attack (CVE-2023-25155)
- redis: Insufficient validation of HINCRBYFLOAT command (CVE-2023-28856)
- redis: heap overflow in the lua cjson and cmsgpack libraries (CVE-2022-24834)
- redis: possible bypass of Unix socket permissions on startup (CVE-2023-45145)
- redis: Lua library commands may lead to stack overflow and RCE in Redis (CVE-2024-31449)
- redis: Denial-of-service due to unbounded pattern matching in Redis (CVE-2024-31228)
- redis: Redis' Lua library commands may lead to remote code execution (CVE-2024-46981)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2025:0595- Updated
- 2026-11-02
OSVBIT-keydb-2023-22458 No score
Integer overflow in multiple Redis commands can lead to denial-of-service
Redis is an in-memory database that persists on disk. Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
BIT-keydb-2023-22458- Updated
- 2026-11-02
OSVBIT-redis-2023-22458 No score
Integer overflow in multiple Redis commands can lead to denial-of-service
Redis is an in-memory database that persists on disk. Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
BIT-redis-2023-22458- Updated
- 2026-11-02
OSVBIT-valkey-2023-22458 No score
Integer overflow in multiple Redis commands can lead to denial-of-service
Redis is an in-memory database that persists on disk. Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
- Record
BIT-valkey-2023-22458- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12619-1 No score
redis-7.0.8-1.1 on GA media
These are all security issues fixed in the redis-7.0.8-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12619-1- Updated
- 2026-11-02
OSVSUSE-SU-2023:0295-1 No score
Security update for redis
This update for redis fixes the following issues:
- CVE-2022-35977: Fixed an integer overflow that could allow authenticated users to cause a crash (bsc#1207202).
- CVE-2023-22458: Fixed a missing check that could allow authenticated users to cause a crash (bsc#1207203).
- Record
SUSE-SU-2023:0295-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
redisAlpine:v3.14 |
6.2.0 up to 6.2.9-r0 | 6.2.9-r0 |
redisAlpine:v3.15 |
6.2.0 up to 6.2.9-r0 | 6.2.9-r0 |
redisAlpine:v3.16 |
6.2.0 up to 7.0.8-r0 | 7.0.8-r0 |
redisAlpine:v3.17 |
6.2.0 up to 7.0.8-r0 | 7.0.8-r0 |
redisAlpine:v3.18 |
6.2.0 up to 7.0.8-r0 | 7.0.8-r0 |
redisAlpine:v3.19 |
6.2.0 up to 7.0.8-r0 | 7.0.8-r0 |
redisAlpine:v3.20 |
6.2.0 up to 7.0.8-r0 | 7.0.8-r0 |
redisAlpine:v3.21 |
6.2.0 up to 7.0.8-r0 | 7.0.8-r0 |
redisAlpine:v3.22 |
6.2.0 up to 7.0.8-r0 | 7.0.8-r0 |
redisAlpine:v3.23 |
6.2.0 up to 7.0.8-r0 | 7.0.8-r0 |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
redisAlpine:v3.24 |
6.2.0 up to 7.0.8-r0 | 7.0.8-r0 |
redisAlmaLinux:8 From an advisory covering 10 CVEs |
before 6.2.17-1.module_el8.10.0+3946+3de613d5 | 6.2.17-1.module_el8.10.0+3946+3de613d5 |
redis-develAlmaLinux:8 From an advisory covering 10 CVEs |
before 6.2.17-1.module_el8.10.0+3946+3de613d5 | 6.2.17-1.module_el8.10.0+3946+3de613d5 |
redis-docAlmaLinux:8 From an advisory covering 10 CVEs |
before 6.2.17-1.module_el8.10.0+3946+3de613d5 | 6.2.17-1.module_el8.10.0+3946+3de613d5 |
redisAzure Linux:2 |
before 6.2.9-1 | 6.2.9-1 |
keydbBitnami |
6.2.0 up to 6.2.9, 7.0.0 up to 7.0.8 | 6.2.97.0.8 |
redisBitnami |
6.2.0 up to 6.2.9, 7.0.0 up to 7.0.8 | 6.2.97.0.8 |
valkeyBitnami |
6.2.0 up to 6.2.9, 7.0.0 up to 7.0.8 | 6.2.97.0.8 |
redisDebian:12 |
before 5:7.0.8-1 | 5:7.0.8-1 |
redisDebian:13 |
before 5:7.0.8-1 | 5:7.0.8-1 |
redisDebian:14 |
before 5:7.0.8-1 | 5:7.0.8-1 |
redisRed Hat:enterprise_linux:8::appstream From an advisory covering 10 CVEs |
before 0:6.2.17-1.module+el8.10.0+22680+748527fd | 0:6.2.17-1.module+el8.10.0+22680+748527fd |
redis-debuginfoRed Hat:enterprise_linux:8::appstream From an advisory covering 10 CVEs |
before 0:6.2.17-1.module+el8.10.0+22680+748527fd | 0:6.2.17-1.module+el8.10.0+22680+748527fd |
redis-debugsourceRed Hat:enterprise_linux:8::appstream From an advisory covering 10 CVEs |
before 0:6.2.17-1.module+el8.10.0+22680+748527fd | 0:6.2.17-1.module+el8.10.0+22680+748527fd |
redis-develRed Hat:enterprise_linux:8::appstream From an advisory covering 10 CVEs |
before 0:6.2.17-1.module+el8.10.0+22680+748527fd | 0:6.2.17-1.module+el8.10.0+22680+748527fd |
redis-docRed Hat:enterprise_linux:8::appstream From an advisory covering 10 CVEs |
before 0:6.2.17-1.module+el8.10.0+22680+748527fd | 0:6.2.17-1.module+el8.10.0+22680+748527fd |
redisRocky Linux:8 From an advisory covering 10 CVEs |
before 0:6.2.17-1.module+el8.10.0+1923+5b85c6a7 | 0:6.2.17-1.module+el8.10.0+1923+5b85c6a7 |
redisSUSE:Linux Enterprise Module for Server Applications 15 SP4 From an advisory covering 2 CVEs |
before 6.2.6-150400.3.11.1 | 6.2.6-150400.3.11.1 |
redisopenSUSE:Leap 15.4 From an advisory covering 2 CVEs |
before 6.2.6-150400.3.11.1 | 6.2.6-150400.3.11.1 |
redisopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 7.0.8-1.1 | 7.0.8-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | OSV | |
| first indexed | CVE List, EUVD, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-22458 is a medium vulnerability (CVSS 5.5) in Redis, published January 20, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 72.0%, the 99th percentile. Fixed in redis 6.2.9-r0.
References
github.com/redis/redis/security/advisories/GHSA-r8w2-2m53-gprj
github.com/redis/redis/commit/16f408b1a0121cacd44cbf8aee275d69dc627f02
github.com/redis/redis/releases/tag/6.2.9
github.com/redis/redis/releases/tag/7.0.8
security.alpinelinux.org/vuln/CVE-2023-22458
access.redhat.com/errata/RHSA-2025:0595
Show 81 moreShow less
access.redhat.com/security/cve/CVE-2022-24834
access.redhat.com/security/cve/CVE-2022-35977
access.redhat.com/security/cve/CVE-2022-36021
access.redhat.com/security/cve/CVE-2023-22458
access.redhat.com/security/cve/CVE-2023-25155
access.redhat.com/security/cve/CVE-2023-28856
access.redhat.com/security/cve/CVE-2023-45145
access.redhat.com/security/cve/CVE-2024-31228
access.redhat.com/security/cve/CVE-2024-31449
access.redhat.com/security/cve/CVE-2024-46981
bugzilla.redhat.com/2163132
bugzilla.redhat.com/2163133
bugzilla.redhat.com/2174305
bugzilla.redhat.com/2174306
bugzilla.redhat.com/2187525
bugzilla.redhat.com/2221662
bugzilla.redhat.com/2244940
bugzilla.redhat.com/2317056
bugzilla.redhat.com/2317058
bugzilla.redhat.com/2336004
errata.almalinux.org/8/ALSA-2025-0595.html
nvd.nist.gov/vuln/detail/CVE-2023-22458
docs.bell-sw.com/security/cves/CVE-2023-22458
github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22458.json
security-tracker.debian.org/tracker/CVE-2023-22458
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2163132
bugzilla.redhat.com/show_bug.cgi?id=2163133
bugzilla.redhat.com/show_bug.cgi?id=2174305
bugzilla.redhat.com/show_bug.cgi?id=2174306
bugzilla.redhat.com/show_bug.cgi?id=2187525
bugzilla.redhat.com/show_bug.cgi?id=2221662
bugzilla.redhat.com/show_bug.cgi?id=2244940
bugzilla.redhat.com/show_bug.cgi?id=2317056
bugzilla.redhat.com/show_bug.cgi?id=2317058
bugzilla.redhat.com/show_bug.cgi?id=2336004
issues.redhat.com/browse/RHEL-66165
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_0595.json
cve.org/CVERecord?id=CVE-2022-24834
nvd.nist.gov/vuln/detail/CVE-2022-24834
github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838
groups.google.com/g/redis-db/c/JDjKS0GubsQ
cve.org/CVERecord?id=CVE-2022-35977
nvd.nist.gov/vuln/detail/CVE-2022-35977
github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j
cve.org/CVERecord?id=CVE-2022-36021
nvd.nist.gov/vuln/detail/CVE-2022-36021
github.com/redis/redis/commit/dcbfcb916ca1a269b3feef86ee86835294758f84
github.com/redis/redis/security/advisories/GHSA-jr7j-rfj5-8xqv
cve.org/CVERecord?id=CVE-2023-22458
cve.org/CVERecord?id=CVE-2023-25155
nvd.nist.gov/vuln/detail/CVE-2023-25155
github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619
github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83
cve.org/CVERecord?id=CVE-2023-28856
nvd.nist.gov/vuln/detail/CVE-2023-28856
github.com/redis/redis/security/advisories/GHSA-hjv8-vjf6-wcr6
cve.org/CVERecord?id=CVE-2023-45145
nvd.nist.gov/vuln/detail/CVE-2023-45145
github.com/redis/redis/security/advisories/GHSA-ghmp-889m-7cvx
cve.org/CVERecord?id=CVE-2024-31228
nvd.nist.gov/vuln/detail/CVE-2024-31228
github.com/redis/redis/commit/9317bf64659b33166a943ec03d5d9b954e86afb0
github.com/redis/redis/security/advisories/GHSA-66gq-c942-6976
cve.org/CVERecord?id=CVE-2024-31449
nvd.nist.gov/vuln/detail/CVE-2024-31449
github.com/redis/redis/commit/1f7c148be2cbacf7d50aa461c58b871e87cc5ed9
github.com/redis/redis/security/advisories/GHSA-whxg-wx83-85p5
cve.org/CVERecord?id=CVE-2024-46981
nvd.nist.gov/vuln/detail/CVE-2024-46981
github.com/redis/redis/releases/tag/6.2.17
github.com/redis/redis/releases/tag/7.2.7
github.com/redis/redis/releases/tag/7.4.2
github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4c
errata.rockylinux.org/RLSA-2025:0595
suse.com/support/update/announcement/2023/suse-su-20230295-1
bugzilla.suse.com/1207202
bugzilla.suse.com/1207203
bugzilla.suse.com/1207448
suse.com/security/cve/CVE-2022-35977
suse.com/security/cve/CVE-2023-22458