VDB

CVE-2025-32023

CVE-2025-32023 PUBLISHED CVSS 7 HIGH

Redis allows out of bounds writes in hyperloglog commands leading to RCE

Reported by github_m · Published July 7, 2025

Redis is an open source, in-memory database that persists on disk. From 2.8 to before 8.0.3, 7.4.5, 7.2.10, and 6.2.19, an authenticated user may use a specially crafted string to trigger a stack/heap out of bounds write on hyperloglog operations, potentially leading to remote code execution. The bug likely affects all Redis versions with hyperloglog operations implemented. This vulnerability is fixed in 8.0.3, 7.4.5, 7.2.10, and 6.2.19. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing hyperloglog operations. This can be done using ACL to restrict HLL commands.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
valkey-develAmazon Linux8.0.3-3.amzn2023.0.4
keydbBitnami8.0.3, 7.4.5, 7.2.10, 6.2.19
redis-7.4Wolfi7.4.5-r0
redictAlpine7.3.3-r2
redis-7.2Chainguard7.2.12-r2
redis6-develAmazon Linux6.2.14-2.amzn2023.0.6
redis6-docAmazon Linux6.2.14-2.amzn2023.0.6
valkeyAlpine8.1.1-r2, 7.2.11-r0
redis-7.4Chainguard7.4.5-r0
redis-8.0Chainguard8.0.3-r0
valkeyAmazon Linux8.0.3-3.amzn2023.0.4
valkeyBitnami8.1.3, 8.0.4, 7.2.10

8 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
redisredis>= 8.0.0, < 8.0.3, >= 7.4-rc1, < 7.4.5, >= 7.0.0, < 7.2.10
amazon:2023valkey-devel0
wolfiredis-7.40
alpineredict0
chainguardredis-7.20
amazon:2023redis6-devel0
amazon:2023redis6-doc0
chainguardpy3-redis*
alpinevalkey0, 0
chainguardredis-7.40
chainguardredis-8.00
amazon:2023valkey0
chainguardredis-6.20
wolfiredis-7.20
wolfiredis-6.20
alpineredis0, 0
amazon:2023redis60
redisredis8.0.0, 7.4-rc1, 7.0.0

Timeline

  • Jul 6, 2025 CVE Published
  • Jul 7, 2025 Coalition ESS Score (20 in total, the first dated here)
  • Jul 8, 2025 EPSS Score (30 in total, the first dated here)
  • Aug 2, 2025 PoC Published (5 in total, the first dated here)
  • Dec 16, 2025 Security Advisory (18 in total, the first dated here)
  • Jun 17, 2026 CVE Updated
  • Aug 10, 2026 Distribution Patch (12 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-32023
vulnetix vdb fixes CVE-2025-32023

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-32023/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›