Description
Redis is an in-memory database that persists on disk. A vulnerability involving out-of-bounds read and integer overflow to buffer overflow exists starting with version 2.2 and prior to versions 5.0.13, 6.0.15, and 6.2.5. On 32-bit systems, Redis `*BIT*` command are vulnerable to integer overflow that can potentially be exploited to corrupt the heap, leak arbitrary heap contents or trigger remote code execution. The vulnerability involves changing the default `proto-max-bulk-len` configuration parameter to a very large value and constructing specially crafted commands bit commands. This problem only affects Redis on 32-bit platforms, or compiled as a 32-bit binary. Redis versions 5.0.`3m 6.0.15, and 6.2.5 contain patches for this issue. An additional workaround to mitigate the problem without patching the `redis-server` executable is to prevent users from modifying the `proto-max-bulk-len` configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| redis | redis | >= 2.2, < 5.0.13, >= 6.0.0, < 6.0.15, >= 6.2.0, < 6.2.5 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | redis | 5:6.0.15-1 | — |
| Debian 13 | redis | 5:6.0.15-1 | — |
| Debian 12 | redis | 5:6.0.15-1 | — |
| Debian 9 | redis | 3:3.2.6-3+deb9u5 | DLA-2717-2, DLA-2717-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | redis | 5:5.0.7-2ubuntu0.1+esm1 | USN-5221-1 |
| Ubuntu Pro 18.04 LTS | redis | 5:4.0.9-1ubuntu0.2+esm3 | USN-5221-1 |
| Ubuntu Pro 16.04 LTS | redis | 2:3.0.6-1ubuntu0.4+esm1 | USN-5221-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 14.04 LTS | redis | 2:2.8.4-2ubuntu0.2+esm2 | USN-5221-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | redis | 6.2.5-1.2 | openSUSE-SU-2024:11299-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | redis | 6.2.5-r0 | — |
| Alpine v3.23 | redis | 6.2.5-r0 | — |
| Alpine v3.22 | redis | 6.2.5-r0 | — |
| Alpine v3.21 | redis | 6.2.5-r0 | — |
| Alpine v3.20 | redis | 6.2.5-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | redis | 6.2.5-r0 | — |
| Alpine v3.18 | redis | 6.2.5-r0 | — |
| Alpine v3.17 | redis | 6.2.5-r0 | — |
| Alpine v3.16 | redis | 6.2.5-r0 | — |
| Alpine v3.15 | redis | 6.2.5-r0 | — |
| Alpine v3.14 | redis | 6.2.5-r0 | — |
| Alpine v3.13 | redis | 6.0.13-r0 | — |
| Alpine v3.12 | redis | 5.0.13-r0 | — |
| Alpine v3.11 | redis | 5.0.13-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | redis | 6.2.5-1 | — |
Advisories 5
- USN-5221-1 redis vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DLA-2717-2 redis - regression update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2717-1 redis - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11299-1 redis-6.2.5-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1578 Redis: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Sep 27, 2023
References
- https://github.com/redis/redis/security/advisories/GHSA-8wxq-j7rp-g8wj
- [debian-lts-announce] 20210722 [SECURITY] [DLA 2717-1] redis security update mailing-list
- FEDORA-2021-10d54c261f vendor-advisory
- FEDORA-2021-76cf1653b3 vendor-advisory
- https://security.netapp.com/advisory/ntap-20210827-0004/
- [debian-lts-announce] 20210827 [SECURITY] [DLA 2717-2] redis security update mailing-list
- DSA-5001 vendor-advisory
- GLSA-202209-17 vendor-advisory