# CVE-2023-25155: Integer Overflow in several Redis commands can lead to denial of service.

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Published: 2023-03-02T03:01:36.879Z
- Modified: 2026-09-08T08:48:19.147Z
- Also known as: BIT-KEYDB-2023-25155, BIT-REDIS-2023-25155, BIT-VALKEY-2023-25155, GHSA-x2r7-j9vw-3w83
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- redis redis: < 6.0.18; >= 7.0.0, < 7.0.9; >= 6.2.0, < 6.2.11; before 6.0.18; from 6.2.0 before 6.2.11; from 7.0.0 before 7.0.9
- keydb (Bitnami): before 6.0.18; from 6.2.0 before 6.2.11; from 7.0.0 before 7.0.9
- redis (Bitnami): before 6.0.18; from 6.2.0 before 6.2.11; from 7.0.0 before 7.0.9
- valkey (Bitnami): before 6.0.18; from 6.2.0 before 6.2.11; from 7.0.0 before 7.0.9

## Every score

- GitHub_M: 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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83> (advisory, vendor-advisory, web)
- <https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619> (fix, patch, web)
- <https://github.com/redis/redis/releases/tag/6.0.18> (article, release-notes, web)
- <https://github.com/redis/redis/releases/tag/6.2.11> (article, release-notes, web)
- <https://github.com/redis/redis/releases/tag/7.0.9> (article, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25155> (web)

## Sources

- CVE List: [CVE-2023-25155](https://www.cve.org/CVERecord?id=CVE-2023-25155), CVE Terms of Use, modified 2025-03-07
- NVD: [CVE-2023-25155](https://nvd.nist.gov/vuln/detail/CVE-2023-25155), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-KEYDB-2023-25155](https://osv.dev/vulnerability/BIT-KEYDB-2023-25155), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-REDIS-2023-25155](https://osv.dev/vulnerability/BIT-REDIS-2023-25155), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-VALKEY-2023-25155](https://osv.dev/vulnerability/BIT-VALKEY-2023-25155), Apache-2.0, modified 2025-10-15

---

Page: https://cve.day/CVE-2023-25155 · Whole record: https://cve.day/CVE-2023-25155.json · Rebuilt by cve.day 2026-11-25T22:58:22.238Z
