{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32765","published":"2021-10-04T21:15:12.527000Z","last_modified":"2026-06-17T03:53:35.097000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-190","CWE-680"],"cpes":[{"criteria":"cpe:2.3:a:redis:hiredis:*:*:*:*:*:*:*:*","part":"a","vendor":"redis","product":"hiredis","version_end_excluding":"1.0.1"},{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"},{"criteria":"cpe:2.3:a:netapp:management_services_for_element_software_and_netapp_hci:-:*:*:*:*:*:*:*","part":"a","vendor":"netapp","product":"management_services_for_element_software_and_netapp_hci"}],"cpes_truncated":false,"vendors":["redis","debian","netapp"],"products":["redis/hiredis","debian/debian_linux","netapp/management_services_for_element_software_and_netapp_hci"],"epss":{"score":0.02055,"percentile":0.81965,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2021-32765/","html_en":"/en/cve/CVE-2021-32765/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32765","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32765"},"untrusted":{"vendor_name":"Redis","product_name":"Hiredis","desc_en":"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.","affected":[{"untrusted_vendor":"redis","untrusted_product":"hiredis","versions":[]}],"references":[{"url":"https://github.com/redis/hiredis/commit/76a7b10005c70babee357a7d0f2becf28ec7ed1e","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/redis/hiredis/security/advisories/GHSA-hfm9-39pp-55p2","tags":["Mitigation","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00007.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202210-32","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20211104-0003/","tags":["Third Party Advisory"]},{"url":"https://wiki.sei.cmu.edu/confluence/display/c/MEM07-C.+Ensure+that+the+arguments+to+calloc%28%29%2C+when+multiplied%2C+do+not+wrap","tags":["Third Party Advisory"]}]}}