Skip to content
Heist/ feed
Back to feed
High

RedisBloom Integer Overflow Remote Code Execution Vulnerability

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-55656
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 12:28 UTC · Revision 1

Source evidence

RedisBloom Integer Overflow Remote Code Execution Vulnerability

core-osv · Original source

Published 8 Jan 2025, 15:38 UTC

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.

osv:CVE-2024-55656
Complete source record
{
  "id": "872bda29ac2144895b270d9638ea9c0fd6cc95b1c118a54d451ef45c61b6e27c",
  "url": "https://osv.dev/vulnerability/CVE-2024-55656",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "RedisBloom Integer Overflow Remote Code Execution Vulnerability",
    "summary": "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.",
    "evidence": "osv:CVE-2024-55656",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-55656",
      "aliases": [
        "CVE-2024-55656",
        "GHSA-x5rx-rmq3-ff3h"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/redisbloom/redisbloom",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ac51ed1a93fcdb9e59786d73c9d33755418c29fe"
                },
                {
                  "fixed": "bb2ec197aa729529a412b5317512117843b0fdf8"
                },
                {
                  "introduced": "09851c6cff6729a755c9e1699ba487912011b8e2"
                },
                {
                  "fixed": "a9b27795eb93c2a8b1cd976d29d1f3add91db9fa"
                },
                {
                  "introduced": "ba807d3b4b25b8168813ac5998e46866adb76a2a"
                },
                {
                  "fixed": "44dce571d9377d93f4a5b7417c9c7db2dff2c90f"
                },
                {
                  "introduced": "f8d593fef4170fce26e705eacec8085ca88ac20e"
                },
                {
                  "fixed": "6330cddb5479bdfa57b5e76d114661d552b9c9ac"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.2.0"
                      },
                      {
                        "fixed": "2.2.19"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.4.0"
                      },
                      {
                        "fixed": "2.4.12"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.6.0"
                      },
                      {
                        "fixed": "2.6.14"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.8.0"
                      },
                      {
                        "fixed": "2.8.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.6.12",
            "v2.8.1",
            "v2.8.0",
            "v2.6.11",
            "v2.6.10",
            "v2.6.9",
            "v2.6.8",
            "v2.6.7",
            "v2.6.5",
            "v2.6.4",
            "v2.6.3",
            "v2.6.2",
            "v2.6.1",
            "v2.6.0",
            "v2.2.18",
            "v2.2.17",
            "v2.2.16",
            "ver2.2.15",
            "v2.2.14",
            "v2.2.13",
            "v2.2.12",
            "v2.2.11",
            "v2.2.10",
            "v2.2.9",
            "v2.2.8",
            "v2.2.6",
            "v2.2.5",
            "v2.2.4",
            "v2.2.3",
            "v2.2.2",
            "v2.2.1",
            "v2.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-55656.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.720555015Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55656.json",
        "https://github.com/RedisBloom/RedisBloom/security/advisories/GHSA-x5rx-rmq3-ff3h",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-55656"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-190"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55656.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-55656",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519289,
  "published_at": "2025-01-08T15:38:54.859+00:00"
}