CVE-2021-3470
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0...
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0 when using a heap allocator other than jemalloc or glibc's malloc, leading to potential out of bound write or process crash. Effectively this flaw does not affect the vast majority of users, who use jemalloc or glibc malloc.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
NVD Score used
5.3
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0 when using a heap allocator other than jemalloc or glibc's malloc, leading to potential out of bound write or process crash. Effectively this flaw does not affect the vast majority of users, who use jemalloc or glibc malloc.
- Record
CVE-2021-3470- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-119, CWE-787
- Updated
- 2026-11-02
CVE List No score
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0 when using a heap allocator other than jemalloc or glibc's malloc, leading to potential out of bound write or process crash. Effectively this flaw does not affect the vast majority of users, who use jemalloc or glibc malloc.
- Record
CVE-2021-3470- Weakness
- CWE-119
- Updated
- 2026-11-02
EUVDEUVD-2021-26792 No score
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0 when using a heap allocator other than jemalloc or glibc's malloc, leading to potential out of bound write or process crash. Effectively this flaw does not affect the vast majority of users, who use jemalloc or glibc malloc.
- Record
EUVD-2021-26792- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mqmr-8cxh-pqf6 No score
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0...
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0 when using a heap allocator other than jemalloc or glibc's malloc, leading to potential out of bound write or process crash. Effectively this flaw does not affect the vast majority of users, who use jemalloc or glibc malloc.
- Record
GHSA-mqmr-8cxh-pqf6- Weakness
- CWE-119, CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-3470
5.3
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0 when using a heap allocator other than jemalloc or glibc's malloc, leading to potential out of bound write or process crash. Effectively this flaw does not affect the vast majority of users, who use jemalloc or glibc malloc.
- Record
ALPINE-CVE-2021-3470- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-03
OSVAZL-6852
5.3
CVE-2021-3470 affecting package redis for versions less than 5.0.5-7
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0 when using a heap allocator other than jemalloc or glibc's malloc, leading to potential out of bound write or process crash. Effectively this flaw does not affect the vast majority of users, who use jemalloc or glibc malloc.
- Record
AZL-6852- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
Show 5 moreShow less
OSVBELL-CVE-2021-3470
5.3
CVE-2021-3470 does not affect BellSoft software
- Record
BELL-CVE-2021-3470- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSV
5.3
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0 when using a heap allocator other than jemalloc or glibc's malloc, leading to potential out of bound write or process crash. Effectively this flaw does not affect the vast majority of users, who use jemalloc or glibc malloc.
- Record
CVE-2021-3470- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-3470
5.3
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0 when using a heap allocator other than jemalloc or glibc's malloc, leading to potential out of bound write or process crash. Effectively this flaw does not affect the vast majority of users, who use jemalloc or glibc malloc.
- Record
DEBIAN-CVE-2021-3470- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVOESA-2021-1172
5.3
redis security update
Redis is an advanced key-value store. It is often referred to as a dattructure server since keys can contain strings, hashes ,lists, sets anorted sets.
Security Fix(es):
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0 when using a heap allocator other than jemalloc or glibc's malloc, leading to potential out of bound write or process crash. Effectively this flaw does not affect the vast majority of users, who use jemalloc or glibc malloc.(CVE-2021-3470)
- Record
OESA-2021-1172- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-3470
5.3
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0 when using a heap allocator other than jemalloc or glibc's malloc, leading to potential out of bound write or process crash. Effectively this flaw does not affect the vast majority of users, who use jemalloc or glibc malloc.
- Record
UBUNTU-CVE-2021-3470- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
redisAlpine:v3.12 |
6.0.0 up to 5.0.11-r0 | 5.0.11-r0 |
redisAlpine:v3.13 |
6.0.0 up to 6.0.9-r0 | 6.0.9-r0 |
redisAlpine:v3.14 |
6.0.0 up to 6.2.0-r0 | 6.2.0-r0 |
redisAlpine:v3.15 |
6.0.0 up to 6.2.0-r0 | 6.2.0-r0 |
redisAlpine:v3.16 |
6.0.0 up to 6.2.0-r0 | 6.2.0-r0 |
redisAlpine:v3.17 |
6.0.0 up to 6.2.0-r0 | 6.2.0-r0 |
redisAlpine:v3.18 |
6.0.0 up to 6.2.0-r0 | 6.2.0-r0 |
redisAlpine:v3.19 |
6.0.0 up to 6.2.0-r0 | 6.2.0-r0 |
redisAlpine:v3.20 |
6.0.0 up to 6.2.0-r0 | 6.2.0-r0 |
redisAlpine:v3.21 |
6.0.0 up to 6.2.0-r0 | 6.2.0-r0 |
Show 12 moreShow less
| Package | Affected | Fixed |
|---|---|---|
redisAlpine:v3.22 |
6.0.0 up to 6.2.0-r0 | 6.2.0-r0 |
redisAlpine:v3.23 |
6.0.0 up to 6.2.0-r0 | 6.2.0-r0 |
redisAlpine:v3.24 |
6.0.0 up to 6.2.0-r0 | 6.2.0-r0 |
redisAzure Linux:2 |
before 5.0.5-7 | 5.0.5-7 |
redisDebian:12 |
before 5:6.0.9-1 | 5:6.0.9-1 |
redisDebian:13 |
before 5:6.0.9-1 | 5:6.0.9-1 |
redisDebian:14 |
before 5:6.0.9-1 | 5:6.0.9-1 |
redisopenEuler:20.03-LTS-SP1 |
before 4.0.11-14.oe1 | 4.0.11-14.oe1 |
redisUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 2:2.6.13-12:2.6.16-32:2.8.0-12:2.8.2-12:2.8.4-2 Show 6 moreShow less2:2.8.4-2ubuntu0.22:2.8.4-2ubuntu0.2+esm12:2.8.4-2ubuntu0.2+esm22:2.8.4-2ubuntu0.2+esm32:2.8.4-2ubuntu0.2+esm42:2.8.4-2ubuntu0.2+esm5 |
None known |
redisUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 2:3.0.3-32:3.0.5-12:3.0.5-22:3.0.5-32:3.0.5-4 Show 9 moreShow less2:3.0.6-12:3.0.6-1ubuntu0.22:3.0.6-1ubuntu0.32:3.0.6-1ubuntu0.42:3.0.6-1ubuntu0.4+esm12:3.0.6-1ubuntu0.4+esm22:3.0.6-1ubuntu0.4+esm32:3.0.6-1ubuntu0.4+esm42:3.0.6-1ubuntu0.4+esm5 |
None known |
redisUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 4:4.0.1-74:4.0.2-64:4.0.2-95:4.0.5-15:4.0.6-1 Show 13 moreShow less5:4.0.6-25:4.0.7-15:4.0.8-15:4.0.8-25:4.0.9-15:4.0.9-1ubuntu0.15:4.0.9-1ubuntu0.25:4.0.9-1ubuntu0.2+esm25:4.0.9-1ubuntu0.2+esm35:4.0.9-1ubuntu0.2+esm45:4.0.9-1ubuntu0.2+esm55:4.0.9-1ubuntu0.2+esm65:4.0.9-1ubuntu0.2+esm7 |
None known |
redisUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 5:5.0.5-2build15:5.0.6-15:5.0.7-15:5.0.7-25:5.0.7-2ubuntu0.1~esm1 Show 5 moreShow less5:5.0.7-2ubuntu0.15:5.0.7-2ubuntu0.1+esm15:5.0.7-2ubuntu0.1+esm25:5.0.7-2ubuntu0.1+esm35:5.0.7-2ubuntu0.1+esm4 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-3470 is a medium vulnerability (CVSS 5.3) in Redis, published March 31, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.14%, the 66th percentile. Fixed in redis 5.0.11-r0.