Redis is an open source, in-memory database that persists on disk. The redis-cli command line tool and redis-sentinel service may be vulnerable to integer overflow when parsing specially crafted large multi-bulk network replies. This is a result of a vulnerability in the underlying hiredis library which does not perform an overflow check before calling the calloc() heap allocation function. This issue only impacts systems with heap allocators that do not perform their own overflow checks. Most modern systems do and are therefore not likely to be affected. Furthermore, by default redis-sentinel uses the jemalloc allocator which is also not vulnerable. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14.
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | — | Upgrade redis | Mar 26, 2024 | Oct 4, 2021 |
| Amazon Linux Ami 2 | — | Upgrade redis-docUpgrade redisUpgrade redis-develUpgrade redis-debuginfo | Sep 28, 2023 | Oct 4, 2021 |
| Debian | — | Upgrade redis | Nov 29, 2021 | Oct 4, 2021 |
| Freebsd | — | Upgrade redis6Upgrade redis5Upgrade redis-develUpgrade redis | Nov 4, 2022 | Oct 5, 2021 |
| Gentoo Linux | — | Upgrade dev-db/redis. | Sep 30, 2022 | Oct 4, 2021 |
| Redislabs Redis | — | Upgrade RedisLabs Redis to version 6.0.16Upgrade RedisLabs Redis to version 6.2.6Upgrade RedisLabs Redis to version 5.0.14 | Oct 17, 2025 | Oct 4, 2021 |
| Suse | — | Upgrade redis | Nov 24, 2021 | Oct 4, 2021 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Oct 4, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub