VDB

CVE-2025-49844

CVE-2025-49844 PUBLISHED CVSS 10 CRITICAL

Redis Lua Use-After-Free may lead to remote code execution

Reported by github_m · Published October 3, 2025

Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted Lua script to manipulate the garbage collector, trigger a use-after-free and potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This issue is fixed in version 8.2.2. To workaround this issue without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

Fixed versions

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

PackageEcosystemFixed in
redictAlpine7.3.6-r0
redis6Amazon Linux6.2.20-2.amzn2023.0.1
redisAlpine8.2.2-r0, 8.0.4-r0, 7.2.11-r0
valkeylfprojects8.1.4, 8.0.6, 7.2.11

Risk scores

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

Affected products

VendorProductVersions
redisredis< 8.2.2
alpineredict0
amazon:2023redis60
alpineredis0, 0, 0
redisredis0
amazon:2023valkey-devel0
chainguardpy3-redis*
amazon:2023redis6-doc0
amazon:2023valkey0
amazon:2023redis6-devel0
alpinevalkey0, 0

Timeline

  • Oct 3, 2025 CVE Published
  • Oct 4, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 7, 2025 VulnCheck XDB Entry (8 in total, the first dated here)
  • Dec 23, 2025 VulnCheck KEV Exploitation (22 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (105 in total, the first dated here)
  • Jun 5, 2026 Coalition ESS Score
  • Aug 10, 2026 Distribution Patch (22 in total, the first dated here)
  • Nov 5, 2026 PoC Published

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-49844
vulnetix vdb fixes CVE-2025-49844

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-49844/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 ›