CVE-2023-25155 json
Integer Overflow in several Redis commands can lead to denial of service.
published 2023-02-28 3 y ago modified 2026-09-08 2 mo ago also BIT-keydb-2023-25155 , BIT-redis-2023-25155 , BIT-valkey-2023-25155 , EUVD-2023-29130 , GHSA-x2r7-j9vw-3w83
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted `SRANDMEMBER`, `ZRANDMEMBER`, and `HRANDFIELD` commands can trigger an integer overflow, resulting in a runtime assertion and termination of the Redis server process. This problem affects all Redis versions. Patches were released in Redis version(s) 6.0.18, 6.2.11 and 7.0.9.
Patch / fix
- bitnami keydb 6.0.18, 6.2.11, 7.0.9
- bitnami redis 6.0.18, 6.2.11, 7.0.9
- bitnami valkey 6.0.18, 6.2.11, 7.0.9
- redis redis 6.0.18, 6.2.11, 7.0.9
- redis Debian 14, Debian 13, Debian 12 5:7.0.9-1
debian advisories DEBIAN-CVE-2023-25155
- redis Ubuntu Pro 14.04 LTS 2:2.8.4-2ubuntu0.2+esm3
- redis Ubuntu Pro 16.04 LTS 2:3.0.6-1ubuntu0.4+esm2
- redis Ubuntu Pro 18.04 LTS 5:4.0.9-1ubuntu0.2+esm4
- redis Ubuntu Pro 20.04 LTS 5:5.0.7-2ubuntu0.1+esm2
- redis Ubuntu Pro 22.04 LTS 5:6.0.16-1ubuntu1+esm1
ubuntu advisories UBUNTU-CVE-2023-25155
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- redis RHEL 8 6.2.17-1.module+el8.10.0+22680+748527fd
red hat advisories RHSA-2025:0595
- redis7 SLE Module for Server Applications 15 SP5, openSUSE Leap 15.5 7.0.8-150500.3.3.1
- redis SLE Module for Server Applications 15 SP4, openSUSE Leap 15.4 6.2.6-150400.3.19.1
- redis SLE Module for Server Applications 15 SP4, openSUSE Leap 15.4 6.2.6-150400.3.16.1
- redis SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +9 more 6.0.14-150200.6.20.1
suse advisories SUSE-SU-2023:2925-1SUSE-SU-2023:2122-1SUSE-SU-2023:0694-1SUSE-SU-2023:0693-1
- redis openSUSE Tumbleweed 7.0.8-2.1
opensuse advisories openSUSE-SU-2024:12743-1
- redis AlmaLinux 8 6.2.17-1.module_el8.10.0+3946+3de613d5
almalinux advisories ALSA-2025:0595
- redis Rocky Linux 8 6.2.17-1.module+el8.10.0+1923+5b85c6a7
rocky linux advisories RLSA-2025:0595
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-25155 updated cvss 6.5
redis: String matching commands (like SCAN or KEYS) with a specially crafted pattern to trigger a denial-of-service attack
-
Red Hat OpenStack Platform 13 (Queens) redisaffected: no fix planned “Out of support scope”
-
Red Hat Software Collections rh-redis6-redisaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) redis 6.2.17-1.module+el8.10.0+22680+748527fdfixed: vendor fix RHSA-2025:0595
-
Red Hat Enterprise Linux 9 redisnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-24-046-11 updated cvss 5.5
Siemens SCALANCE XCM-/XRM-300
-
Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4affected: fixed in V2.4 support.industry.siemens.com
+5 more productsfewer
Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.90% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | keydb | <6.0.18 >=6.2.0, <6.2.11 >=7.0.0, <7.0.9 |
6.0.18 6.2.11 7.0.9 |
| bitnami | redis | <6.0.18 >=6.2.0, <6.2.11 >=7.0.0, <7.0.9 |
6.0.18 6.2.11 7.0.9 |
| bitnami | valkey | <6.0.18 >=6.2.0, <6.2.11 >=7.0.0, <7.0.9 |
6.0.18 6.2.11 7.0.9 |
Affected products
- redis redis
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
- Technology feeds
References
-
github.com
/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619
patch, web
-
github.com
/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83
vendor-advisory, advisory, web
-
github.com
/redis/redis/releases/tag/6.0.18
release-notes, article, web
-
github.com
/redis/redis/releases/tag/6.2.11
release-notes, article, web
-
github.com
/redis/redis/releases/tag/7.0.9
release-notes, article, web
-
nvd.nist.gov
/vuln/detail/CVE-2023-25155
web
Sources
- CVE List CVE-2023-25155
- NVD CVE-2023-25155
- OSV BIT-keydb-2023-25155
- OSV BIT-redis-2023-25155
- OSV BIT-valkey-2023-25155
- Maintainer advisory GHSA-x2r7-j9vw-3w83
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of redis/redis published their own advisory on GitHub. Reviewed sources take precedence over it.