# 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 when using a heap allocator other than je…

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.14%, higher than 67% of CVEs (2026-12-01)
- Published: 2021-03-31T13:44:13.000Z
- Modified: 2026-06-17T04:05:09.757Z
- Weaknesses: CWE-119, CWE-787
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- redis: redis 5.0.10, redis 6.0.9, redis 6.2.0
- redislabs redis: before 5.0.10; from 6.0.0 before 6.0.9; 6.2.0

## Every score

- NVD: 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1943623> (issue-tracking, patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-3470](https://www.cve.org/CVERecord?id=CVE-2021-3470), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3470](https://nvd.nist.gov/vuln/detail/CVE-2021-3470), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3470 · Whole record: https://cve.day/CVE-2021-3470.json · Rebuilt by cve.day 2026-11-25T22:58:00.517Z
