RedisBloom and Redis OSS: Count-Min Sketch RDB deserialization integer overflow (CVE-2026-62356)
An integer-overflow vulnerability in RedisBloom CMSketch RDB deserialization allows an authenticated attacker to trigger out-of-bounds memory access, resulting in potential remote code execution or denial of service.
CVE search metadata
CVE search record: CVE-2026-62356. KEV: no. Product: Redis OSS (< 8.8.2), RedisBloom (< 2.8.24). Brief: RedisBloom and Redis OSS: Count-Min Sketch RDB deserialization integer overflow (CVE-2026-62356). Brief link: https://feed.craftedsignal.io/briefs/2026-10-redisbloom-overflow/
Triage facts
Revision 1- Applicability
- Redis OSS (< 8.8.2), RedisBloom (< 2.8.24)
- Evidence
- Unknown
- Severity
- High
- Action
- Immediate escalation
- Sources
- 3 public sources
- Freshness
- Revision 1Oct 22, 12:49 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- B2Likely
RedisBloom is vulnerable to an integer-overflow issue (CVE-2026-62356) within its Count-Min Sketch (CMSketch) RDB deserialization process. By providing a crafted CMSketch object through the RESTORE command or malicious RDB file ingestion, an authenticated attacker can cause the server to allocate an undersized heap buffer. Subsequent interaction with the sketch via commands such as CMS.QUERY, CMS.INCRBY, or CMS.INFO triggers out-of-bounds memory access. This behavior causes a crash (denial of service) or potential remote code execution. A non-weaponized proof-of-concept demonstrating the denial-of-service condition is publicly available.
Attack Chain
- Attacker authenticates to the Redis instance.
- Attacker crafts a malicious CMSketch object with dimensions designed to induce integer overflow in the length computation.
- Attacker sends the payload to the target via
RESTOREor triggers ingestion of a compromised RDB file. - The server's
CMSRdbLoadroutine performs a 64-bit length calculation that wraps around, resulting in the allocation of an undersized heap buffer. - The server commits the poisoned CMSketch object to memory.
- Attacker invokes CMS commands (
CMS.QUERY,CMS.INCRBY,CMS.INFO) on the object. - The server calculates an index based on the corrupted object dimensions and performs an out-of-bounds access on the undersized heap buffer, leading to SIGSEGV/crash or potential arbitrary code execution.
Impact
Successful exploitation allows for persistent denial-of-service (the corrupted object remains in memory across restarts if persisted to RDB) and provides a primitive for potential remote code execution in the context of the Redis server process.
Recommendation
- Patch immediately by upgrading to Redis OSS 8.8.2 or later, and RedisBloom 2.8.24 or later.
- If an immediate upgrade is not feasible, restrict access to
RESTORE,MIGRATE,DEBUG, and RDB ingestion commands via Redis ACLs to trusted users only. - Treat all serialized data import pathways, including replication, RDB preloading, and backup restoration, as high-risk vectors.
Immediate actions
Upgrade Redis OSS to 8.8.2+ and RedisBloom to 2.8.24+.
Audit Redis ACLs to ensure RESTORE, MIGRATE, and DEBUG are restricted to highly trusted administrative identities.
Mitigations
Upgrade to Redis OSS 8.8.2+ and RedisBloom 2.8.24+.
CVE-2026-62356