redict, redis and 1 more products — security advisory
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 different LUA objects and potentially run their own code in the context of another user. The problem exists in all versions of Redis with LUA scripting. This issue is fixed in version 8.2.2. A workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing LUA scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.
- Products
- redict, redis, valkey
- Affected versions
- 5:7.0.11-1, 5:7.0.11-1+deb12u1, 5:7.0.12-1, 5:7.0.12-2, 5:7.0.13-1, 5:7.0.13-2, 5:7.0.14-1, 5:7.0.14-2, 5:7.0.15-1~deb12u1, 5:7.0.15-1~deb12u2, 5:7.0.15-1~deb12u3, 5:7.0.15-1~deb12u4, 5:7.0.15-1~deb12u5, 5:8.0.2-3, 7.3.0+ds-1, 7.3.0+ds-2, 7.3.0+ds-3, 7.3.0+ds-3~bpo12+1, 7.3.1+ds-1, 7.3.2+ds-1, 7.3.2+ds-1~bpo12+1, 7.3.5+ds-1, 7.3.5+ds-1~bpo12+1, 7.3.6+ds-1~bpo12+1, 7.3.6+ds-1~bpo13+1, 8.1.1+dfsg1-3
- Fixed versions
- 5:7.0.15-1~deb12u6, 5:8.0.2-3+deb13u1, 5:8.0.4-1, 7.3.6+ds-1, 8.1.1+dfsg1-3+deb13u1, 8.1.4+dfsg1-1
- CVEs
- CVE-2025-46818
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 22:28 UTC · Revision 1
Source evidence
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 different LUA objects and potentially run their own code in the context of another user. The problem exists in all versions of Redis with LUA scripting. This issue is fixed in version 8.2.2. A workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing LUA scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.
osv:DEBIAN-CVE-2025-46818
redict
Fixed versions: 7.3.6+ds-1
redis
Fixed versions: 5:7.0.15-1~deb12u6
redis
Fixed versions: 5:8.0.2-3+deb13u1
redis
Fixed versions: 5:8.0.4-1
valkey
Fixed versions: 8.1.1+dfsg1-3+deb13u1
valkey
Fixed versions: 8.1.4+dfsg1-1
Complete source record
{
"id": "f7eddf3fa4eb9a566f2cab2000a958df2756939b6e6770cf6bc055820e71ab3f",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-46818",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2025-46818",
"summary": "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 different LUA objects and potentially run their own code in the context of another user. The problem exists in all versions of Redis with LUA scripting. This issue is fixed in version 8.2.2. A workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing LUA scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.",
"evidence": "osv:DEBIAN-CVE-2025-46818",
"products": [
{
"name": {
"value": "redict",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.3.6+ds-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "7.3.0+ds-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.3.0+ds-2",
"evidence": "/affected/0/versions"
},
{
"value": "7.3.0+ds-3",
"evidence": "/affected/0/versions"
},
{
"value": "7.3.0+ds-3~bpo12+1",
"evidence": "/affected/0/versions"
},
{
"value": "7.3.1+ds-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.3.2+ds-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.3.2+ds-1~bpo12+1",
"evidence": "/affected/0/versions"
},
{
"value": "7.3.5+ds-1",
"evidence": "/affected/0/versions"
},
{
"value": "7.3.5+ds-1~bpo12+1",
"evidence": "/affected/0/versions"
},
{
"value": "7.3.6+ds-1~bpo12+1",
"evidence": "/affected/0/versions"
},
{
"value": "7.3.6+ds-1~bpo13+1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "redis",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5:7.0.15-1~deb12u6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "5:7.0.11-1",
"evidence": "/affected/1/versions"
},
{
"value": "5:7.0.11-1+deb12u1",
"evidence": "/affected/1/versions"
},
{
"value": "5:7.0.12-1",
"evidence": "/affected/1/versions"
},
{
"value": "5:7.0.12-2",
"evidence": "/affected/1/versions"
},
{
"value": "5:7.0.13-1",
"evidence": "/affected/1/versions"
},
{
"value": "5:7.0.13-2",
"evidence": "/affected/1/versions"
},
{
"value": "5:7.0.14-1",
"evidence": "/affected/1/versions"
},
{
"value": "5:7.0.14-2",
"evidence": "/affected/1/versions"
},
{
"value": "5:7.0.15-1~deb12u1",
"evidence": "/affected/1/versions"
},
{
"value": "5:7.0.15-1~deb12u2",
"evidence": "/affected/1/versions"
},
{
"value": "5:7.0.15-1~deb12u3",
"evidence": "/affected/1/versions"
},
{
"value": "5:7.0.15-1~deb12u4",
"evidence": "/affected/1/versions"
},
{
"value": "5:7.0.15-1~deb12u5",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "redis",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5:8.0.2-3+deb13u1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "5:8.0.2-3",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "redis",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5:8.0.4-1",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": [
{
"value": "5:8.0.2-3",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "valkey",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.1.1+dfsg1-3+deb13u1",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": [
{
"value": "8.1.1+dfsg1-3",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "valkey",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.1.4+dfsg1-1",
"evidence": "/affected/5/ranges"
}
],
"affected_versions": [
{
"value": "8.1.1+dfsg1-3",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2025-46818",
"aliases": [
"DEBIAN-CVE-2025-46818"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.3.6+ds-1"
}
]
}
],
"package": {
"name": "redict",
"purl": "pkg:deb/debian/redict?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"7.3.0+ds-1",
"7.3.0+ds-2",
"7.3.0+ds-3",
"7.3.0+ds-3~bpo12+1",
"7.3.1+ds-1",
"7.3.2+ds-1",
"7.3.2+ds-1~bpo12+1",
"7.3.5+ds-1",
"7.3.5+ds-1~bpo12+1",
"7.3.6+ds-1~bpo12+1",
"7.3.6+ds-1~bpo13+1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-46818.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5:7.0.15-1~deb12u6"
}
]
}
],
"package": {
"name": "redis",
"purl": "pkg:deb/debian/redis?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"5:7.0.11-1",
"5:7.0.11-1+deb12u1",
"5:7.0.12-1",
"5:7.0.12-2",
"5:7.0.13-1",
"5:7.0.13-2",
"5:7.0.14-1",
"5:7.0.14-2",
"5:7.0.15-1~deb12u1",
"5:7.0.15-1~deb12u2",
"5:7.0.15-1~deb12u3",
"5:7.0.15-1~deb12u4",
"5:7.0.15-1~deb12u5"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-46818.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5:8.0.2-3+deb13u1"
}
]
}
],
"package": {
"name": "redis",
"purl": "pkg:deb/debian/redis?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"5:8.0.2-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-46818.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5:8.0.4-1"
}
]
}
],
"package": {
"name": "redis",
"purl": "pkg:deb/debian/redis?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"5:8.0.2-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-46818.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.1.1+dfsg1-3+deb13u1"
}
]
}
],
"package": {
"name": "valkey",
"purl": "pkg:deb/debian/valkey?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"8.1.1+dfsg1-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-46818.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.1.4+dfsg1-1"
}
]
}
],
"package": {
"name": "valkey",
"purl": "pkg:deb/debian/valkey?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"8.1.1+dfsg1-3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-46818.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T17:47:21.806950782Z",
"provider": "osv",
"upstream": [
"CVE-2025-46818"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2025-46818"
]
},
"related_cves": [
{
"value": "CVE-2025-46818",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 416541,
"published_at": "2025-10-03T19:15:43.33+00:00"
}