{"schemaVersion":3,"id":"CVE-2021-32762","aliases":["ALPINE-CVE-2021-32762","UBUNTU-CVE-2021-32762","DEBIAN-CVE-2021-32762"],"status":"published","duplicateOf":null,"title":null,"description":"Redis is an open source, in-memory database that persists on disk. The redis-cli command line tool and redis-sentinel service may be vulnerable to integer overflow when parsing specially crafted large multi-bulk network replies. This is a result of a vulnerability in the underlying hiredis library which does not perform an overflow check before calling the calloc() heap allocation function. This issue only impacts systems with heap allocators that do not perform their own overflow checks. Most modern systems do and are therefore not likely to be affected. Furthermore, by default redis-sentinel uses the jemalloc allocator which is also not vulnerable. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14.","dates":{"published":"2021-10-04T18:00:11.000Z","modified":"2024-08-03T23:33:55.894Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","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","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","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","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","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","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9,"severity":"high","vector":"AV:N/AC:L/Au:S/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02558,"percentile":0.84855,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":-0.12700000000000003,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.02685},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02558,"percentile":0.84855}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02685,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02663,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02558,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02558,"percentile":0.84855}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-190","name":"Integer Overflow or Wraparound","description":"The product performs a calculation that can\n         produce an integer overflow or wraparound when the logic\n         assumes that the resulting value will always be larger than\n         the original value. This occurs when an integer value is\n         incremented to a value that is too large to store in the\n         associated representation. When this occurs, the value may\n         become a very small or negative number.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/190.html"},{"id":"CWE-680","name":"Integer Overflow to Buffer Overflow","description":"The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.","type":"weakness","status":"Draft","abstraction":"Compound","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/680.html"}],"affected":[{"vendor":"alpine","product":"redis","name":"redis","label":"redis","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/redis","purlType":"apk","versions":[{"text":"≥ 5.0.0, < 5.0.14-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 6.0.16-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 6.2.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.0.0, < 5.0.14-r0 | ≥ 5.0.0, < 6.0.16-r0 | ≥ 5.0.0, < 6.2.6-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"redis","name":"redis","label":"redis","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/redis","purlType":"deb","versions":[{"text":"< 5:6.0.16-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5:6.0.16-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"hiredis","name":"hiredis","label":"hiredis","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/hiredis","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"webdis","name":"webdis","label":"webdis","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/webdis","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"10.0","noFixRecorded":false,"fixedIn":null},{"text":"11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"10.0 | 11.0","eol":{"isEol":true,"eolDate":"2024-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"10","label":"10 (Buster)","eolFrom":"2024-06-30T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"10.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"33","noFixRecorded":false,"fixedIn":null},{"text":"34","noFixRecorded":false,"fixedIn":null},{"text":"35","noFixRecorded":false,"fixedIn":null}],"versionsText":"33 | 34 | 35","eol":{"isEol":true,"eolDate":"2021-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"33","label":"33","eolFrom":"2021-11-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"netapp","product":"management_services_for_element_software","name":"management services for element software","label":"management_services_for_element_software","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/management_services_for_element_software"},{"vendor":"netapp","product":"management_services_for_netapp_hci","name":"management services for netapp hci","label":"management_services_for_netapp_hci","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/netapp/management_services_for_netapp_hci"},{"vendor":"oracle","product":"communications_operations_monitor","name":"communications operations monitor","label":"communications_operations_monitor","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.3","noFixRecorded":false,"fixedIn":null},{"text":"4.4","noFixRecorded":false,"fixedIn":null},{"text":"5.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.3 | 4.4 | 5.0","eol":null,"hubHref":"/vendor/oracle/communications_operations_monitor"},{"vendor":"redis","product":"redis","name":"redis","label":"redis","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.0.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.0.0, < 5.0.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.0.16","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.2.0, < 6.2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.14 | ≥ 5.0.0, < 5.0.14 | ≥ 6.0.0, < 6.0.16 | ≥ 6.2.0, < 6.2.6","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"redis","label":"Redis","category":"database"}},"hubHref":"/vendor/redis/redis"}],"affectedCount":10,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr","label":"github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Third Party Advisory"]},{"url":"https://github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71","label":"github.com/redis/redis/commit/0215324a66af949be39b34be2d55143232c1cb71","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://www.debian.org/security/2021/dsa-5001","label":"www.debian.org/security/2021/dsa-5001","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","label":"www.oracle.com/security-alerts/cpuapr2022.html","hostname":"www.oracle.com","tags":["X Refsource MISC","Patch","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20211104-0003/","label":"security.netapp.com/advisory/ntap-20211104-0003/","hostname":"security.netapp.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202209-17","label":"security.gentoo.org/glsa/202209-17","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2021-32762","label":"security.alpinelinux.org/vuln/CVE-2021-32762","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-32762","label":"ubuntu.com/security/CVE-2021-32762","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32762","label":"www.cve.org/CVERecord?id=CVE-2021-32762","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-32762","label":"security-tracker.debian.org/tracker/CVE-2021-32762","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32762","label":"nvd.nist.gov/vuln/detail/CVE-2021-32762","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-2810-1","DSA-5001-1","MGASA-2021-0483","OPENSUSE-SU-2021:3772-1","OPENSUSE-SU-2024:11563-1","SUSE-SU-2021:3772-1"],"duplicates":[],"related":["OPENSUSE-SU-2021:3772-1","OPENSUSE-SU-2024:11563-1","SUSE-SU-2021:3772-1"]},"timeline":[{"kind":"published","date":"2021-10-04T18:00:11.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T23:33:55.894Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T22:46:41.133Z","stale":false,"partial":false}}