Integer overflow in Redisbloom

CVE-2024-55656

RedisBloom adds a set of probabilistic data structures to Redis. There is an integer overflow vulnerability in RedisBloom, which is a module used in Redis. The integer overflow vulnerability allows an attacker (a redis client which knows the password) to allocate memory in the heap lesser than the required memory due to wraparound. Then read and write can be performed beyond this allocated memory, leading to info leak and OOB write. The integer overflow is in CMS.INITBYDIM command, which initialize a Count-Min Sketch to dimensions specified by user. It accepts two values (width and depth) and uses them to allocate memory in NewCMSketch(). This vulnerability is fixed in 2.2.19, 2.4.12, 2.6.14, and 2.8.2.

Vulnerability class: Integer Overflow

EPSS: 0.150 (96.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

  • Redisbloom — versions >= 2.2.0, < 2.2.19, >= 2.4.0, < 2.4.12, >= 2.6.0, < 2.6.14

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-55656?
CVE-2024-55656 is a high-severity vulnerability in Redisbloom, classified under Integer Overflow or Wraparound. CVSS score: 8.8/10. Published 2025-01-08.
How severe is CVE-2024-55656?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2024-55656 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.