{"id":"CVE-2025-46817","summary":"Lua library commands may lead to integer overflow and potential RCE","details":"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 cause an integer overflow 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.","aliases":["BIT-keydb-2025-46817","BIT-redis-2025-46817","BIT-valkey-2025-46817","GHSA-m8fj-85cg-7vhp"],"modified":"2026-12-03T00:06:53.016730454Z","published":"2025-10-03T17:52:48.478Z","related":["ALSA-2025:19237","ALSA-2025:19238","ALSA-2025:19345","ALSA-2025:19675","ALSA-2025:20926","ALSA-2025:20955","ALSA-2025:21916","ALSA-2025:21936","SUSE-SU-2025:03499-1","SUSE-SU-2025:03500-1","SUSE-SU-2025:03501-1","SUSE-SU-2025:03502-1","SUSE-SU-2025:03505-1","SUSE-SU-2025:03506-1","SUSE-SU-2025:03507-1","SUSE-SU-2026:20022-1","openSUSE-SU-2025:15600-1","openSUSE-SU-2025:15604-1","openSUSE-SU-2025:20121-1","openSUSE-SU-2026:20003-1"],"database_specific":{"cwe_ids":["CWE-190"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46817.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/redis/redis/releases/tag/8.2.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46817.json"},{"type":"ADVISORY","url":"https://github.com/redis/redis/security/advisories/GHSA-m8fj-85cg-7vhp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46817"},{"type":"FIX","url":"https://github.com/redis/redis/commit/fc9abc775e308374f667fdf3e723ef4b7eb0e3ca"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/redis/redis","events":[{"introduced":"0"},{"fixed":"86b64d6098b3cfb839ab9a65e0104c840c696eee"},{"introduced":"d375595d5e3ae2e5c29e6c00a2dc3d60578fd9fc"},{"fixed":"d4c381df7a729c06a5207c4f18d804febe956dc4"},{"introduced":"c9d29f6a918c335bc1778d9f68e521c1bbb36a0f"},{"fixed":"4b03ddfdac5a5c007358df8d08873f508f2fbfe3"},{"introduced":"e91a340e241cf0abe3c6a0c254214fbe4aa1d95f"},{"fixed":"0ebb3381cd146c45f4ea14d5999d257a1649221d"},{"introduced":"4fa8bf356b4bf0f1ce345286a4f02d022a4badcb"},{"fixed":"9829bdbfd9e7eeb8fb6c79ce36bcc77a681824b1"},{"fixed":"fc9abc775e308374f667fdf3e723ef4b7eb0e3ca"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"6.2.20"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*","range":[{"introduced":"7.0"},{"fixed":"7.2.11"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*","range":[{"introduced":"7.4.0"},{"fixed":"7.4.6"}],"source":"CPE_RANGE"},{"range":[{"introduced":"8.0.0"},{"fixed":"8.0.4"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*","range":[{"introduced":"8.2.0"},{"fixed":"8.2.2"}]},{"range":[{"fixed":"fc9abc775e308374f667fdf3e723ef4b7eb0e3ca"}],"source":"REFERENCES_COMMIT"},{"original_tag":"8.2.2","range":[{"fixed":"9829bdbfd9e7eeb8fb6c79ce36bcc77a681824b1"}],"source":"REFERENCES_TAG"}]}}],"versions":["6.2.19","8.0.3","8.2.1","8.2.1-int","7.2.10","8.2.0","7.4.5","7.2.9","6.2.18","7.4.4","8.0.2","8.0.1","7.2.8","7.4.3","8.0.1-int","8.0.0","7.4.2","7.2.7","6.2.17","7.2.6","7.4.1","6.2.16","6.2.15","6.2.14","7.4.0","7.2.5","7.2.4","7.2.3","7.2.2","7.2.1","6.2.13","7.2.0","7.2-rc3","7.2-rc2","6.2.12","7.2-rc1","6.2.11","6.2.10","6.2.9","6.2.8","6.2.7","6.2.6","6.2.5","6.2.4","6.2.3","6.2.2","6.2.1","6.2.0","6.2-rc3","6.2-rc2","6.2-rc1","2.3-alpha0","2.2.0-rc1","2.2-alpha6","2.2-alpha5","2.2-alpha4","2.2-alpha3","2.2-alpha2","2.2-alpha1","2.2-alpha0","v2.0.0-rc1","v2.1.1-watch","v1.3.11","v1.3.10","v1.3.9","v1.3.8","v1.3.7","1.3.6","vm-playpen"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-46817.json"}}],"schema_version":"1.9.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}