Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-32626

published high CVSS 3.1 · 7.5

Lua scripts can overflow the heap-based Lua stack in Redis

Published
04 Oct 2021, 17:30:11 UTC
Updated
03 Aug 2024, 23:25:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
redis — redis>= 6.2.0, < 6.2.6 · >= 6.0.0, < 6.0.16 · >= 2.6.0, < 5.0.14 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2REDIS6-2023-007 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
AlmaLinux 8 redis Advisory build 5.0.3-5.module_el8.4.0+2583+b9845322 ALSA-2021:3918
Alpine Linux edge redis Fixed 6.2.6-r0 Package fix record
Debian bullseye redis Advisory build 5:6.0.16-1+deb11u1 DSA-5001-1
Oracle Linux 8 redisaarch64 · redis · 5b Advisory build 0:5.0.3-5.module+el8.4.0+20382+7694043a ELSA-2021-3918
Red Hat Enterprise Linux RHEL-8 redisaarch64 Advisory build 5.0.3-5.module+el8.1.0+12925+6460abef RHSA-2021:3946
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-15-SP2 redisaarch64 Advisory build 6.0.14-6.8.1 SUSE-SU-2021:3772-1
Ubuntu bionic redis Advisory build 5:4.0.9-1ubuntu0.2+esm3 USN-5221-1
AlmaLinux 8 redis Advisory build 5.0.3-5.module_el8.5.0+66+fc19ec12 ALSA-2021:3918
AlmaLinux 8 redis Advisory build 6.0.9-5.module_el8.4.0+2584+1bb0d2aa ALSA-2021:3945
AlmaLinux 8 redis Advisory build 6.0.9-5.module_el8.5.0+67+a3c431d9 ALSA-2021:3945
Alpine Linux v3.11 redis Fixed 5.0.14-r0 Package fix record
Alpine Linux v3.12 redis Fixed 5.0.14-r0 Package fix record
Alpine Linux v3.13 redis Fixed 6.0.16-r0 Package fix record
Alpine Linux v3.14 redis Fixed 6.2.6-r0 Package fix record
Alpine Linux v3.15 redis Fixed 6.2.6-r0 Package fix record
Alpine Linux v3.16 redis Fixed 6.2.6-r0 Package fix record
Alpine Linux v3.17 redis Fixed 6.2.6-r0 Package fix record
Alpine Linux v3.18 redis Fixed 6.2.6-r0 Package fix record
Alpine Linux v3.19 redis Fixed 6.2.6-r0 Package fix record
Alpine Linux v3.20 redis Fixed 6.2.6-r0 Package fix record
Alpine Linux v3.21 redis Fixed 6.2.6-r0 Package fix record
Alpine Linux v3.22 redis Fixed 6.2.6-r0 Package fix record
Alpine Linux v3.23 redis Fixed 6.2.6-r0 Package fix record
Alpine Linux v3.24 redis Fixed 6.2.6-r0 Package fix record
Debian buster redis Advisory build 5:5.0.14-1+deb10u1 DSA-5001-1
Debian stretch redis Advisory build 3:3.2.6-3+deb9u8 DLA-2810-1
Oracle Linux 8 redisaarch64 · redis · 6b Advisory build 0:6.0.9-5.module+el8.4.0+20384+68ad316c ELSA-2021-3945
Oracle Linux 8 redisx86_64 · redis · 5b Advisory build 0:5.0.3-5.module+el8.4.0+20382+7694043a ELSA-2021-3918
Oracle Linux 8 redisx86_64 · redis · 6b Advisory build 0:6.0.9-5.module+el8.4.0+20384+68ad316c ELSA-2021-3945
Red Hat Enterprise Linux RHEL-8 redisaarch64 Advisory build 5.0.3-5.module+el8.2.0+12926+485b5fc9 RHSA-2021:3944
Red Hat Enterprise Linux RHEL-8 redisaarch64 Advisory build 5.0.3-5.module+el8.4.0+12927+b9845322 RHSA-2021:3918
Red Hat Enterprise Linux RHEL-8 redisaarch64 Advisory build 6.0.9-5.module+el8.4.0+12929+1bb0d2aa RHSA-2021:3945
Red Hat Enterprise Linux RHEL-8 redisppc64le Advisory build 5.0.3-5.module+el8.1.0+12925+6460abef RHSA-2021:3946
Red Hat Enterprise Linux RHEL-8 redisppc64le Advisory build 5.0.3-5.module+el8.2.0+12926+485b5fc9 RHSA-2021:3944
Red Hat Enterprise Linux RHEL-8 redisppc64le Advisory build 5.0.3-5.module+el8.4.0+12927+b9845322 RHSA-2021:3918
Red Hat Enterprise Linux RHEL-8 redisppc64le Advisory build 6.0.9-5.module+el8.4.0+12929+1bb0d2aa RHSA-2021:3945
Red Hat Enterprise Linux RHEL-8 rediss390x Advisory build 5.0.3-5.module+el8.1.0+12925+6460abef RHSA-2021:3946
Red Hat Enterprise Linux RHEL-8 rediss390x Advisory build 5.0.3-5.module+el8.2.0+12926+485b5fc9 RHSA-2021:3944
Red Hat Enterprise Linux RHEL-8 rediss390x Advisory build 5.0.3-5.module+el8.4.0+12927+b9845322 RHSA-2021:3918
Red Hat Enterprise Linux RHEL-8 rediss390x Advisory build 6.0.9-5.module+el8.4.0+12929+1bb0d2aa RHSA-2021:3945
Red Hat Enterprise Linux RHEL-8 redissrc Advisory build 5.0.3-5.module+el8.1.0+12925+6460abef RHSA-2021:3946
Red Hat Enterprise Linux RHEL-8 redissrc Advisory build 5.0.3-5.module+el8.2.0+12926+485b5fc9 RHSA-2021:3944
Red Hat Enterprise Linux RHEL-8 redissrc Advisory build 5.0.3-5.module+el8.4.0+12927+b9845322 RHSA-2021:3918
Red Hat Enterprise Linux RHEL-8 redissrc Advisory build 6.0.9-5.module+el8.4.0+12929+1bb0d2aa RHSA-2021:3945
Red Hat Enterprise Linux RHEL-8 redisx86_64 Advisory build 5.0.3-5.module+el8.1.0+12925+6460abef RHSA-2021:3946
Red Hat Enterprise Linux RHEL-8 redisx86_64 Advisory build 5.0.3-5.module+el8.2.0+12926+485b5fc9 RHSA-2021:3944
Red Hat Enterprise Linux RHEL-8 redisx86_64 Advisory build 5.0.3-5.module+el8.4.0+12927+b9845322 RHSA-2021:3918
Red Hat Enterprise Linux RHEL-8 redisx86_64 Advisory build 6.0.9-5.module+el8.4.0+12929+1bb0d2aa RHSA-2021:3945
SUSE / openSUSE SLE-15-SP2 redisppc64le Advisory build 6.0.14-6.8.1 SUSE-SU-2021:3772-1
SUSE / openSUSE SLE-15-SP2 rediss390x Advisory build 6.0.14-6.8.1 SUSE-SU-2021:3772-1
SUSE / openSUSE SLE-15-SP2 redisx86_64 Advisory build 6.0.14-6.8.1 SUSE-SU-2021:3772-1
SUSE / openSUSE SLE-15-SP3 redisaarch64 Advisory build 6.0.14-6.8.1 SUSE-SU-2021:3772-1
SUSE / openSUSE SLE-15-SP3 redisppc64le Advisory build 6.0.14-6.8.1 SUSE-SU-2021:3772-1
SUSE / openSUSE SLE-15-SP3 rediss390x Advisory build 6.0.14-6.8.1 SUSE-SU-2021:3772-1
SUSE / openSUSE SLE-15-SP3 redisx86_64 Advisory build 6.0.14-6.8.1 SUSE-SU-2021:3772-1
SUSE / openSUSE openSUSE-Leap-15.3 redisaarch64 Advisory build 6.0.14-6.8.1 OPENSUSE-SU-2021:3772-1
SUSE / openSUSE openSUSE-Leap-15.3 redisppc64le Advisory build 6.0.14-6.8.1 OPENSUSE-SU-2021:3772-1
SUSE / openSUSE openSUSE-Leap-15.3 rediss390x Advisory build 6.0.14-6.8.1 OPENSUSE-SU-2021:3772-1
SUSE / openSUSE openSUSE-Leap-15.3 redisx86_64 Advisory build 6.0.14-6.8.1 OPENSUSE-SU-2021:3772-1
SUSE / openSUSE openSUSE-Tumbleweed redisaarch64 Advisory build 6.2.6-1.1 OPENSUSE-SU-2024:11563-1
SUSE / openSUSE openSUSE-Tumbleweed redisppc64le Advisory build 6.2.6-1.1 OPENSUSE-SU-2024:11563-1
SUSE / openSUSE openSUSE-Tumbleweed rediss390x Advisory build 6.2.6-1.1 OPENSUSE-SU-2024:11563-1
SUSE / openSUSE openSUSE-Tumbleweed redisx86_64 Advisory build 6.2.6-1.1 OPENSUSE-SU-2024:11563-1
Ubuntu esm redis Advisory build 2:2.8.4-2ubuntu0.2+esm2 USN-5221-1
Ubuntu focal redis Advisory build 5:5.0.7-2ubuntu0.1+esm1 USN-5221-1
Ubuntu xenial redis Advisory build 2:3.0.6-1ubuntu0.4+esm1 USN-5221-1
AlmaLinux 8 redis-devel Advisory build 5.0.3-5.module_el8.4.0+2583+b9845322 ALSA-2021:3918
AlmaLinux 8 redis-devel Advisory build 5.0.3-5.module_el8.5.0+66+fc19ec12 ALSA-2021:3918
AlmaLinux 8 redis-devel Advisory build 6.0.9-5.module_el8.4.0+2584+1bb0d2aa ALSA-2021:3945
AlmaLinux 8 redis-devel Advisory build 6.0.9-5.module_el8.5.0+67+a3c431d9 ALSA-2021:3945
AlmaLinux 8 redis-doc Advisory build 5.0.3-5.module_el8.4.0+2583+b9845322 ALSA-2021:3918
AlmaLinux 8 redis-doc Advisory build 6.0.9-5.module_el8.4.0+2584+1bb0d2aa ALSA-2021:3945
Oracle Linux 8 redis-develaarch64 · redis · 5b Advisory build 0:5.0.3-5.module+el8.4.0+20382+7694043a ELSA-2021-3918
Oracle Linux 8 redis-develaarch64 · redis · 6b Advisory build 0:6.0.9-5.module+el8.4.0+20384+68ad316c ELSA-2021-3945
Oracle Linux 8 redis-develx86_64 · redis · 5b Advisory build 0:5.0.3-5.module+el8.4.0+20382+7694043a ELSA-2021-3918
Oracle Linux 8 redis-develx86_64 · redis · 6b Advisory build 0:6.0.9-5.module+el8.4.0+20384+68ad316c ELSA-2021-3945
Oracle Linux 8 redis-docaarch64 · redis · 5b Advisory build 0:5.0.3-5.module+el8.4.0+20382+7694043a ELSA-2021-3918
Oracle Linux 8 redis-docaarch64 · redis · 6b Advisory build 0:6.0.9-5.module+el8.4.0+20384+68ad316c ELSA-2021-3945
Oracle Linux 8 redis-docx86_64 · redis · 5b Advisory build 0:5.0.3-5.module+el8.4.0+20382+7694043a ELSA-2021-3918
Oracle Linux 8 redis-docx86_64 · redis · 6b Advisory build 0:6.0.9-5.module+el8.4.0+20384+68ad316c ELSA-2021-3945
Red Hat Enterprise Linux RHEL-7 rh-redis5-redisppc64le Advisory build 5.0.5-3.el7 RHSA-2021:3947
Red Hat Enterprise Linux RHEL-7 rh-redis5-rediss390x Advisory build 5.0.5-3.el7 RHSA-2021:3947
Red Hat Enterprise Linux RHEL-7 rh-redis5-redissrc Advisory build 5.0.5-3.el7 RHSA-2021:3947
Red Hat Enterprise Linux RHEL-7 rh-redis5-redisx86_64 Advisory build 5.0.5-3.el7 RHSA-2021:3947
Red Hat Enterprise Linux RHEL-7 rh-redis5-redis-debuginfoppc64le Advisory build 5.0.5-3.el7 RHSA-2021:3947
Red Hat Enterprise Linux RHEL-7 rh-redis5-redis-debuginfos390x Advisory build 5.0.5-3.el7 RHSA-2021:3947
Red Hat Enterprise Linux RHEL-7 rh-redis5-redis-debuginfox86_64 Advisory build 5.0.5-3.el7 RHSA-2021:3947
Red Hat Enterprise Linux RHEL-8 redis-debuginfoaarch64 Advisory build 5.0.3-5.module+el8.1.0+12925+6460abef RHSA-2021:3946
Red Hat Enterprise Linux RHEL-8 redis-debuginfoaarch64 Advisory build 5.0.3-5.module+el8.2.0+12926+485b5fc9 RHSA-2021:3944
Red Hat Enterprise Linux RHEL-8 redis-debuginfoaarch64 Advisory build 5.0.3-5.module+el8.4.0+12927+b9845322 RHSA-2021:3918
Red Hat Enterprise Linux RHEL-8 redis-debuginfoaarch64 Advisory build 6.0.9-5.module+el8.4.0+12929+1bb0d2aa RHSA-2021:3945
Red Hat Enterprise Linux RHEL-8 redis-debuginfoppc64le Advisory build 5.0.3-5.module+el8.1.0+12925+6460abef RHSA-2021:3946
Red Hat Enterprise Linux RHEL-8 redis-debuginfoppc64le Advisory build 5.0.3-5.module+el8.2.0+12926+485b5fc9 RHSA-2021:3944
Red Hat Enterprise Linux RHEL-8 redis-debuginfoppc64le Advisory build 5.0.3-5.module+el8.4.0+12927+b9845322 RHSA-2021:3918
Red Hat Enterprise Linux RHEL-8 redis-debuginfoppc64le Advisory build 6.0.9-5.module+el8.4.0+12929+1bb0d2aa RHSA-2021:3945
Red Hat Enterprise Linux RHEL-8 redis-debuginfos390x Advisory build 5.0.3-5.module+el8.1.0+12925+6460abef RHSA-2021:3946
Red Hat Enterprise Linux RHEL-8 redis-debuginfos390x Advisory build 5.0.3-5.module+el8.2.0+12926+485b5fc9 RHSA-2021:3944
Red Hat Enterprise Linux RHEL-8 redis-debuginfos390x Advisory build 5.0.3-5.module+el8.4.0+12927+b9845322 RHSA-2021:3918
Red Hat Enterprise Linux RHEL-8 redis-debuginfos390x Advisory build 6.0.9-5.module+el8.4.0+12929+1bb0d2aa RHSA-2021:3945
Red Hat Enterprise Linux RHEL-8 redis-debuginfox86_64 Advisory build 5.0.3-5.module+el8.1.0+12925+6460abef RHSA-2021:3946

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

Redis is an open source, in-memory database that persists on disk. In affected versions specially crafted Lua scripts executing in Redis can cause the heap-based Lua stack to be overflowed, due to incomplete checks for this condition. This can result with heap corruption and potentially remote code execution. This problem exists in all versions of Redis with Lua scripting support, starting from 2.6. The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14. For users unable to update an additional 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 restrict EVAL and EVALSHA commands.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

38

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
redis redis >= 6.2.0, < 6.2.6 (affected)>= 6.0.0, < 6.0.16 (affected)>= 2.6.0, < 5.0.14 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-122 CWE-122: Heap-based Buffer Overflow (GitHub_M · cna)
  • CWE-787 CWE-787: Out-of-bounds Write (GitHub_M · cna)

References

10

Provider assertions

2

GitHub_M · cna

Lua scripts can overflow the heap-based Lua stack in Redis

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
8822e71dddf4bf63c56b27fef6ca9ed22406002f0f86710611913fae89606257
Ingested
23 Sep 2026, 07:54:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected