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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-03-02 · Modified: 2025-03-07
- Aliases: UBUNTU-CVE-2023-25155, DEBIAN-CVE-2023-25155
- Record: https://cvemate.com/vulnerability/CVE-2023-25155 · JSON: https://cvemate.com/vulnerability/CVE-2023-25155/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.902%, percentile 60.959%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian redis (Debian): \< 5:7.0.9-1
- ubuntu redis (Ubuntu): \< 2:2.8.4-2ubuntu0.2+esm3 \| \< 2:3.0.6-1ubuntu0.4+esm2 \| \< 5:4.0.9-1ubuntu0.2+esm4 \| \< 5:5.0.7-2ubuntu0.1+esm2 \| \< 5:6.0.16-1ubuntu1+esm1
- redis redis: \< 6.0.18 \| ≥ 6.2.0, \< 6.2.11 \| ≥ 7.0.0, \< 7.0.9

## References

- <https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83>
- <https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619>
- <https://github.com/redis/redis/releases/tag/6.0.18>
- <https://github.com/redis/redis/releases/tag/6.2.11>
- <https://github.com/redis/redis/releases/tag/7.0.9>
- <https://ubuntu.com/security/CVE-2023-25155>
- <https://ubuntu.com/security/notices/USN-6531-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-25155>
- <https://security-tracker.debian.org/tracker/CVE-2023-25155>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-25155>

---

Data as of 2026-12-05T05:19:06.398Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
