# CVE-2024-51737: RediSearch Integer Overflow with LIMIT or KNN arguments can lead to RCE

- Severity: High 7.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/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): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2025-01-08T15:27:15.780Z
- Modified: 2026-06-17T08:06:13.420Z
- Weaknesses: CWE-122, CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

RediSearch is a Redis module that provides querying, secondary indexing, and full-text search for Redis. An authenticated redis user executing FT.SEARCH or FT.AGGREGATE with a specially crafted LIMIT command argument, or FT.SEARCH with a specially crafted KNN command argument, can trigger an integer overflow, leading to heap overflow and potential remote code execution. This vulnerability is fixed in 2.6.24, 2.8.21, and 2.10.10. Avoid setting value of -1 or large values for configuration parameters MAXSEARCHRESULTS and MAXAGGREGATERESULTS, to avoid exploiting large LIMIT arguments.

(As written by CVE List.)

## Affected

- RediSearch RediSearch: >= 2.0.0, < 2.6.24; >= 2.8.0, < 2.8.21; >= 2.10.0, < 2.10.10

## References

- <https://github.com/RediSearch/RediSearch/security/advisories/GHSA-p2pg-67m3-4c76>
- <https://github.com/RediSearch/RediSearch/commit/13a2936d921dbe5a2e3c72653e0bd7b26af3a6cb>

## Sources

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

---

Page: https://cve.day/CVE-2024-51737 · Whole record: https://cve.day/CVE-2024-51737.json · Rebuilt by cve.day 2026-11-25T22:58:50.815Z
