Every CVE Search/ Get API key

CVE-2023-22458

Integer overflow in multiple Redis commands can lead to denial-of-service

5.5 MediumFix available

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

72.0%Up 71.0 points since Jan 21, 2023
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
redis
Alpine:v3.14
6.2.0 up to 6.2.9-r0
6.2.9-r0
redis
Alpine:v3.15
6.2.0 up to 6.2.9-r0
6.2.9-r0
redis
Alpine:v3.16
6.2.0 up to 7.0.8-r0
7.0.8-r0
redis
Alpine:v3.17
6.2.0 up to 7.0.8-r0
7.0.8-r0
redis
Alpine:v3.18
6.2.0 up to 7.0.8-r0
7.0.8-r0
redis
Alpine:v3.19
6.2.0 up to 7.0.8-r0
7.0.8-r0
redis
Alpine:v3.20
6.2.0 up to 7.0.8-r0
7.0.8-r0
redis
Alpine:v3.21
6.2.0 up to 7.0.8-r0
7.0.8-r0
redis
Alpine:v3.22
6.2.0 up to 7.0.8-r0
7.0.8-r0
redis
Alpine:v3.23
6.2.0 up to 7.0.8-r0
7.0.8-r0
Show 20 moreShow less
Affected packages
PackageAffectedFixed
redis
Alpine:v3.24
6.2.0 up to 7.0.8-r0
7.0.8-r0
redis
AlmaLinux: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-devel
AlmaLinux: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-doc
AlmaLinux: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
Azure Linux:2
before 6.2.9-1
6.2.9-1
keydb
Bitnami
6.2.0 up to 6.2.9, 7.0.0 up to 7.0.8
6.2.97.0.8
redis
Bitnami
6.2.0 up to 6.2.9, 7.0.0 up to 7.0.8
6.2.97.0.8
valkey
Bitnami
6.2.0 up to 6.2.9, 7.0.0 up to 7.0.8
6.2.97.0.8
redis
Debian:12
before 5:7.0.8-1
5:7.0.8-1
redis
Debian:13
before 5:7.0.8-1
5:7.0.8-1
redis
Debian:14
before 5:7.0.8-1
5:7.0.8-1
redis
Red 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-debuginfo
Red 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-debugsource
Red 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-devel
Red 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-doc
Red 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
Rocky 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
redis
SUSE: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
redis
openSUSE:Leap 15.4
From an advisory covering 2 CVEs
before 6.2.6-150400.3.11.1
6.2.6-150400.3.11.1
redis
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 7.0.8-1.1
7.0.8-1.1

History

History
RecordedChangedSources
affected, facts
affectedOSV
first indexedCVE 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

Show 81 moreShow less
MoveEnter Open