# CVE-2026-46752: Apache Kvrocks heap overflow in cjson library

Source: https://junglewise.ai/threats/cve-2026-46752-apache-kvrocks-heap-overflow-in-cjson-library  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-25. Updated: 2026-06-25  
License: CC BY 4.0 with a link back

CVE-2026-46752 · Severity: info · CVSS 10 · Published 2026-06-25

Apache Kvrocks, a database compatible with Redis, is vulnerable to a critical memory flaw in its Lua scripting engine. An attacker could exploit this to crash the database service or potentially execute unauthorized commands, leading to a full system compromise. Organizations using affected versions should upgrade immediately to prevent service disruption and data theft.

Technologies: [Apache Software Foundation Kvrocks](https://junglewise.ai/threats/technologies/kvrocks). Vendors: [Apache Software Foundation](https://junglewise.ai/threats/vendors/apache-software-foundation).

## Quick answers

**Is CVE-2026-46752 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-46752 being exploited in the wild.

**How severe is CVE-2026-46752?** Informational severity, with a CVSS score of 10, published 25 June 2026.

**Which products and versions are affected?** Apache Software Foundation Kvrocks 2.0.4 through 2.15.0.

**Is there a fix for CVE-2026-46752?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-46752 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-46752?** Check whether you run Apache Software Foundation Kvrocks at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A heap-based buffer overflow (CWE-122) exists in the cjson library integrated into the Redis Lua engine of Apache Kvrocks. The vulnerability is present in versions 2.0.4 through 2.15.0. An unauthenticated remote attacker can trigger this overflow by providing specially crafted input to Lua scripts that utilize the cjson library. Successful exploitation can lead to arbitrary code execution or a complete crash of the database process. The issue is resolved in Apache Kvrocks version 2.16.0.

## Affected products

- Apache Kvrocks 2.0.4 through 2.15.0

## Timeline

- 2026-06-25: disclosed
- 2026-06-25: advisory

## References

- [https://hub.docker.com/](https://hub.docker.com/)
- [https://lists.apache.org/thread/11sr3bkkhkk0q01odgw6ddsj7fzo31pt](https://lists.apache.org/thread/11sr3bkkhkk0q01odgw6ddsj7fzo31pt)

## Related threats

- [Apache Kvrocks vulnerability in versions 2.6.0 to 2.15.0](https://junglewise.ai/threats/cve-2026-54226-apache-kvrocks-vulnerability-in-versions-2-6-0-to-2-15-0)
- [Apache Kvrocks vulnerability in versions 2.2.0 to 2.15.0](https://junglewise.ai/threats/cve-2026-46751-apache-kvrocks-vulnerability-in-versions-2-2-0-to-2-15-0)
- [Apache Kvrocks relative path traversal](https://junglewise.ai/threats/cve-2026-45188-apache-kvrocks-relative-path-traversal)
- [Apache Kvrocks improper permission handling](https://junglewise.ai/threats/cve-2026-41566-apache-kvrocks-improper-permission-handling)
