# CVE-2021-32625: Redis vulnerability in STRALGO LCS on 32-bit systems

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.14%, higher than 91% of CVEs (2026-12-01)
- Published: 2021-06-02T19:35:11.000Z
- Modified: 2026-06-17T03:53:17.807Z
- Weaknesses: CWE-190, CWE-680
- Assigned by: GitHub_M

## Description

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. An integer overflow bug in Redis version 6.0 or newer, could be exploited using the STRALGO LCS command to corrupt the heap and potentially result with remote code execution. This is a result of an incomplete fix by CVE-2021-29477. The problem is fixed in version 6.2.4 and 6.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to use ACL configuration to prevent clients from using the STRALGO LCS command. On 64 bit systems which have the fixes of CVE-2021-29477 (6.2.3 or 6.0.13), it is sufficient to make sure that the proto-max-bulk-len config parameter is smaller than 2GB (default is 512MB).

(As written by CVE List.)

## Affected

- redis redis: < 6.0.14; >= 6.2.0, < 6.2.4
- redislabs redis: from 6.0.0 before 6.0.14; from 6.2.0 before 6.2.4
- fedoraproject fedora: 33; 34

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/redis/redis/security/advisories/GHSA-46cp-x4x9-6pfq> (third-party-advisory)
- <https://github.com/redis/redis/releases/tag/6.0.14> (release-notes, third-party-advisory)
- <https://github.com/redis/redis/releases/tag/6.2.4> (release-notes, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-32625](https://www.cve.org/CVERecord?id=CVE-2021-32625), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-32625](https://nvd.nist.gov/vuln/detail/CVE-2021-32625), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-32625 · Whole record: https://cve.day/CVE-2021-32625.json · Rebuilt by cve.day 2026-11-25T22:58:01.625Z
