Integer overflow in Redis

CVE-2023-25155

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.

Vulnerability class: Integer Overflow

EPSS: 0.009 (56.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Affected products

  • Redis — versions < 6.0.18, >= 7.0.0, < 7.0.9, >= 6.2.0, < 6.2.11

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-25155?
CVE-2023-25155 is a medium-severity vulnerability in Redis, classified under Integer Overflow or Wraparound. CVSS score: 5.5/10. Published 2023-03-02.
How severe is CVE-2023-25155?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2023-25155 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.