Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-32765

published high CVSS 3.1 · 8.8

Integer Overflow to Buffer Overflow in Hiredis

Published
04 Oct 2021, 00:00:00 UTC
Updated
03 Aug 2024, 23:33:55 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
redis — hiredis< 1.0.1 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluationALAS2REDIS6-2023-004 Fixed Not stated Amazon Linux assessment
SUSE / openSUSE openSUSE-Leap-15.2 hiredisaarch64 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
Amazon Linux AL2 hiredisaarch64 Listed in advisory Not stated ALAS2REDIS6-2023-004
SUSE / openSUSE openSUSE-Leap-15.2 hiredisi586 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.2 hiredisppc64le Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.2 hirediss390x Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.2 hiredisx86_64 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
Show 39 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Leap-15.3 hiredisaarch64 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 hiredisi586 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 hiredisppc64le Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 hirediss390x Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 hiredisx86_64 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Tumbleweed hiredisaarch64 Advisory build 1.0.2-1.1 OPENSUSE-SU-2024:11561-1
SUSE / openSUSE openSUSE-Tumbleweed hiredisppc64le Advisory build 1.0.2-1.1 OPENSUSE-SU-2024:11561-1
SUSE / openSUSE openSUSE-Tumbleweed hirediss390x Advisory build 1.0.2-1.1 OPENSUSE-SU-2024:11561-1
SUSE / openSUSE openSUSE-Tumbleweed hiredisx86_64 Advisory build 1.0.2-1.1 OPENSUSE-SU-2024:11561-1
SUSE / openSUSE openSUSE-Leap-15.2 hiredis-develaarch64 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.2 hiredis-develi586 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.2 hiredis-develppc64le Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.2 hiredis-devels390x Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.2 hiredis-develx86_64 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.2 libhiredis0_13aarch64 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.2 libhiredis0_13i586 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.2 libhiredis0_13ppc64le Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.2 libhiredis0_13s390x Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.2 libhiredis0_13x86_64 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 hiredis-develaarch64 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 hiredis-develi586 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 hiredis-develppc64le Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 hiredis-devels390x Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 hiredis-develx86_64 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 libhiredis0_13aarch64 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 libhiredis0_13i586 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 libhiredis0_13ppc64le Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 libhiredis0_13s390x Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Leap-15.3 libhiredis0_13x86_64 Advisory build 0.13.3-bp153.2.3.1 OPENSUSE-SU-2021:1536-1
SUSE / openSUSE openSUSE-Tumbleweed hiredis-develaarch64 Advisory build 1.0.2-1.1 OPENSUSE-SU-2024:11561-1
SUSE / openSUSE openSUSE-Tumbleweed hiredis-develppc64le Advisory build 1.0.2-1.1 OPENSUSE-SU-2024:11561-1
SUSE / openSUSE openSUSE-Tumbleweed hiredis-devels390x Advisory build 1.0.2-1.1 OPENSUSE-SU-2024:11561-1
SUSE / openSUSE openSUSE-Tumbleweed hiredis-develx86_64 Advisory build 1.0.2-1.1 OPENSUSE-SU-2024:11561-1
SUSE / openSUSE openSUSE-Tumbleweed libhiredis1_0_0aarch64 Advisory build 1.0.2-1.1 OPENSUSE-SU-2024:11561-1
SUSE / openSUSE openSUSE-Tumbleweed libhiredis1_0_0ppc64le Advisory build 1.0.2-1.1 OPENSUSE-SU-2024:11561-1
SUSE / openSUSE openSUSE-Tumbleweed libhiredis1_0_0s390x Advisory build 1.0.2-1.1 OPENSUSE-SU-2024:11561-1
SUSE / openSUSE openSUSE-Tumbleweed libhiredis1_0_0x86_64 Advisory build 1.0.2-1.1 OPENSUSE-SU-2024:11561-1
Amazon Linux AL2 hiredissrc Listed in advisory Not stated ALAS2REDIS6-2023-004
Amazon Linux AL2 hiredisx86_64 Listed in advisory Not stated ALAS2REDIS6-2023-004

Description

Hiredis is a minimalistic C client library for the Redis database. In affected versions Hiredis is vulnurable to integer overflow if provided maliciously crafted or corrupted `RESP` `mult-bulk` protocol data. When parsing `multi-bulk` (array-like) replies, hiredis fails to check if `count * sizeof(redisReply*)` can be represented in `SIZE_MAX`. If it can not, and the `calloc()` call doesn't itself make this check, it would result in a short allocation and subsequent buffer overflow. Users of hiredis who are unable to update may set the [maxelements](https://github.com/redis/hiredis#reader-max-array-elements) context option to a value small enough that no overflow is possible.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
redis hiredis < 1.0.1 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-190 CWE-190: Integer Overflow or Wraparound (GitHub_M · cna)
  • CWE-680 CWE-680: Integer Overflow to Buffer Overflow (GitHub_M · cna)

References

6

Provider assertions

2

GitHub_M · cna

Integer Overflow to Buffer Overflow in Hiredis

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
beacdf978f26b8a30bd5d62ac809a1b249b75f29f676ed7d6165bd82fb78aa85
Ingested
23 Sep 2026, 07:54:30 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected