Description
Redis is an open source, in-memory database that persists on disk. In affected versions an integer overflow bug in Redis can be exploited to corrupt the heap and potentially result with remote code execution. The vulnerability involves changing the default proto-max-bulk-len and client-query-buffer-limit configuration parameters to very large values and constructing specially crafted very large stream elements. The problem is fixed in Redis 6.2.6, 6.0.16 and 5.0.14. For users unable to upgrade 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 | >= 5.0.0, < 5.0.14, >= 6.0.0, < 6.0.16, >= 6.2.0, < 6.2.6 | — |
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.16-1 | — |
| Debian 13 | redis | 5:6.0.16-1 | — |
| Debian 12 | redis | 5:6.0.16-1 | — |
| Debian 11 | redis | 5:6.0.16-1+deb11u1 | DSA-5001-1 |
| Debian 10 | redis | 5:5.0.14-1+deb10u1 | DSA-5001-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 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | redis +2 | 5.0.3-5.module+el8.4.0+12927+b9845322 | RHSA-2021:3945, RHSA-2021:3918 |
| RHEL 3 | rh-redis5-redis | 5.0.5-3.el7 | RHSA-2021:3947 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.2 EUS | redis +2 | 5.0.3-5.module+el8.2.0+12926+485b5fc9 | RHSA-2021:3944 |
| RHEL 8.1 EUS | redis +2 | 5.0.3-5.module+el8.1.0+12925+6460abef | RHSA-2021:3946 |
| Red Hat OpenStack 13 | redis | 3.2.8-5.el7ost | RHSA-2021:3980 |
| Red Hat OpenStack 10 | redis | 3.2.8-5.el7ost | RHSA-2021:3971 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | redis +2 | 5.0.3-5.module_el8.4.0+2583+b9845322 | ALSA-2021:3945, ALSA-2021:3918 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | redis | 5.0.3-5.module+el8.4.0+659+cf535ef1 | RLSA-2021:3945, RLSA-2021:3918 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | redis | 6.0.14-6.8.1 | SUSE-SU-2021:3772-1 |
| SLES 15 SP2 | redis | 6.0.14-6.8.1 | SUSE-SU-2021:3772-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | redis | 6.2.6-1.1 | openSUSE-SU-2024:11563-1 |
| openSUSE Leap 15.3 | redis | 6.0.14-6.8.1 | openSUSE-SU-2021:3772-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | redis | 6.2.6-r0 | — |
| Alpine v3.23 | redis | 6.2.6-r0 | — |
| Alpine v3.22 | redis | 6.2.6-r0 | — |
| Alpine v3.21 | redis | 6.2.6-r0 | — |
| Alpine v3.20 | redis | 6.2.6-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | redis | 6.2.6-r0 | — |
| Alpine v3.18 | redis | 6.2.6-r0 | — |
| Alpine v3.17 | redis | 6.2.6-r0 | — |
| Alpine v3.16 | redis | 6.2.6-r0 | — |
| Alpine v3.15 | redis | 6.2.6-r0 | — |
| Alpine v3.14 | redis | 6.2.6-r0 | — |
| Alpine v3.13 | redis | 6.0.16-r0 | — |
| Alpine v3.12 | redis | 5.0.14-r0 | — |
| Alpine v3.11 | redis | 5.0.14-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | redis | 6.2.6-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | redis +2 | 5.0.3-5.module+el8.4.0+20382+7694043a | ELSA-2021-3945, ELSA-2021-3918 |
Advisories 19
- ALSA-2021:3918 Important: redis:5 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2021:3945 Important: redis:6 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2021:3980 Red Hat Security Advisory: Red Hat OpenStack Platform 13.0 (redis) security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:3971 Red Hat Security Advisory: Red Hat OpenStack Platform 10.0 (redis) security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:3946 Red Hat Security Advisory: redis:5 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:3947 Red Hat Security Advisory: rh-redis5-redis security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:3945 Red Hat Security Advisory: redis:6 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:3918 Red Hat Security Advisory: redis:5 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2021:3944 Red Hat Security Advisory: redis:5 security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- USN-5221-1 redis vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- DSA-5001-1 redis - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2021:3945 Important: redis:6 security update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2021:3918 Important: redis:5 security update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2024:11563-1 redis-6.2.6-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2021:3772-1 Security update for redis SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2021:3772-1 Security update for redis SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2022-1579 Redis: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 27, 2023
- ELSA-2021-3945 Important: redis:6 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 20, 2021
- ELSA-2021-3918 Important: redis:5 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 19, 2021
References
- https://github.com/redis/redis/commit/f6a40570fa63d5afdd596c78083d754081d80ae3
- https://github.com/redis/redis/security/advisories/GHSA-f434-69fm-g45v
- FEDORA-2021-8913c7900c vendor-advisory
- FEDORA-2021-61c487f241 vendor-advisory
- FEDORA-2021-aa94492a09 vendor-advisory
- DSA-5001 vendor-advisory
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://security.netapp.com/advisory/ntap-20211104-0003/
- GLSA-202209-17 vendor-advisory