PT-2021-7741 · Redis+3 · Redis+3

Published

2021-10-04

·

Updated

2026-05-18

·

CVE-2021-32762

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Redis versions prior to 5.0.14 Redis versions prior to 6.0.16 Redis versions prior to 6.2.6
Description The issue is related to an integer overflow vulnerability in the hiredis library used by Redis, which can occur when parsing specially crafted large multi-bulk network replies. This vulnerability can be exploited by a remote attacker to access confidential data, compromise data integrity, and cause a denial of service. The problem is a result of the hiredis library not performing an overflow check before calling the calloc() heap allocation function. Most modern systems are not likely to be affected as they have heap allocators that perform their own overflow checks. Additionally, redis-sentinel uses the jemalloc allocator by default, which is also not vulnerable.
Recommendations For Redis versions prior to 5.0.14, update to version 5.0.14 or later. For Redis versions prior to 6.0.16, update to version 6.0.16 or later. For Redis versions prior to 6.2.6, update to version 6.2.6 or later.

Fix

Integer Overflow

Weakness Enumeration

Related Identifiers

ALT-PU-2021-3311
ALT-PU-2022-2429
ALT-PU-2023-4109
AZL-61842
AZL-6851
BDU:2023-02305
BIT-KEYDB-2021-32762
BIT-REDIS-2021-32762
BIT-VALKEY-2021-32762
CLEANSTART-2026-AF35851
CLEANSTART-2026-AV02020
CLEANSTART-2026-BX37171
CLEANSTART-2026-CJ12020
CLEANSTART-2026-CU71831
CLEANSTART-2026-DI78859
CLEANSTART-2026-DL37890
CLEANSTART-2026-EL98096
CLEANSTART-2026-FR00621
CLEANSTART-2026-GJ95666
CLEANSTART-2026-IR62391
CLEANSTART-2026-JR53141
CLEANSTART-2026-JU65303
CLEANSTART-2026-LU31244
CLEANSTART-2026-MJ64494
CLEANSTART-2026-MZ27698
CLEANSTART-2026-NG71279
CLEANSTART-2026-PR27884
CLEANSTART-2026-QK48981
CLEANSTART-2026-QX99194
CLEANSTART-2026-RA63757
CLEANSTART-2026-RF40424
CLEANSTART-2026-SG88217
CLEANSTART-2026-UA95882
CLEANSTART-2026-WI17406
CLEANSTART-2026-XH31600
CLEANSTART-2026-YM75307
CVE-2021-32762
DLA-2810-1
DSA-5001-1
GHSA-833W-8V3M-8WWR
MGASA-2021-0483
OESA-2021-1452
OESA-2021-1454
OESA-2022-1948
OESA-2022-1958
OESA-2025-1157
OPENSUSE-SU-2021:3772-1
OPENSUSE-SU-2021_3772-1
OPENSUSE-SU-2024:11563-1
SUSE-SU-2021:3772-1

Affected Products

Alt Linux
Astra Linux
Redis
Suse