RethinkDB CVE-2025-14310
CRITICALAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach RethinkDB JSON input over network
-
DeliverySubmit crafted JSON with malformed unicode/surrogate escape
-
ExploitOverflow cJSON parse_string output buffer
-
ExecutionCorrupt heap or hijack control flow
-
ImpactExecute code or crash database process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to deliver attacker-controlled JSON to a RethinkDB instance older than 2.4.4 so that it reaches the embedded cJSON parse_string routine; the triggering input is a malformed JSON string with a truncated \u unicode escape or an incomplete UTF-16 surrogate pair, where the pre-patch code failed to bound-check the output buffer. Limiting factors defenders should weigh: the RethinkDB client/driver and admin ports (default 28015/8080) must be reachable from the attacker, and whether exploitation is truly unauthenticated depends on whether a user/admin password is configured and whether the vulnerable parse path is exposed before authentication - the CVSS PR:N assumes it is, which should be verified for the specific deployment. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) and score of 9.3 describe a network-reachable, low-complexity, unauthenticated flaw with high impact to confidentiality, integrity and availability (VC:H/VI:H/VA:H), consistent with a classic buffer overflow (CWE-120) that can corrupt memory and plausibly lead to remote code execution. However, several real-risk signals are MISSING or weak: no EPSS exploitation-probability score was provided (unknown), the CVE is NOT listed in CISA KEV, and no public exploit was supplied - only a source-level patch PR. So despite the high CVSS, there is no evidence of active or widespread exploitation. One material caveat tempers the PR:N claim: the overflow is in RethinkDB's embedded cJSON string parser (src/cjson/cJSON.cc parse_string), and whether an unauthenticated remote attacker can reach that parser depends on whether the vulnerable JSON path is exposed before authentication and whether the instance enforces an admin/user password - verify reachability with the vendor/deployment. Net: a legitimately high-severity memory-corruption bug worth prioritizing for patching on any internet- or untrusted-network-exposed RethinkDB node, but not (yet) a confirmed in-the-wild emergency; prioritize based on exposure of the database to untrusted input rather than on exploitation evidence, which is absent. |
| Exploit ScenarioDerived | An attacker able to submit crafted JSON to a RethinkDB server (before version 2.4.4) sends a malformed string - for example one with a truncated \u unicode escape or an incomplete UTF-16 surrogate pair - that drives the cJSON parse_string routine to read/write past the allocated output buffer. The resulting heap memory corruption can crash the server (denial of service) and, with a carefully shaped payload, potentially be leveraged toward remote code execution in the database process. No public exploit code was identified at time of analysis; only the fixing pull request (rethinkdb/rethinkdb#7163), which adds end-pointer bounds checks, is available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
JSON parsing in RethinkDB versions before 2.4.4 contains a classic buffer overflow (CWE-120) in the embedded cJSON library's parse_string routine, allowing a remote attacker who can deliver crafted JSON to corrupt memory and potentially achieve remote code execution. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H) and score of 9.3 describe a network-reachable, low-complexity, unauthenticated flaw with high confidentiality, integrity and availability impact, consistent with the independent assessment (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). No public exploit code or confirmed active exploitation was identified at time of analysis.
RemediationAI
Upgrade RethinkDB to 2.4.4 or later, which contains the upstream fix in pull request 7163 (https://github.com/rethinkdb/rethinkdb/pull/7163); because the patch reference is an upstream pull request rather than a separately verified tagged release, confirm the shipped artifact actually includes the corrected cJSON code before considering the instance remediated. Patch status: Upstream fix available (PR/commit); released patched version not independently confirmed. If upgrading immediately is not possible, reduce exposure by placing the RethinkDB driver port (default 28015) and admin/HTTP port (default 8080) behind firewall or security-group rules that restrict access to trusted hosts only, and require a strong admin password so that unauthenticated reachability of the parse path cannot be assumed - the trade-off is reduced connectivity for legitimate clients and, where authentication is enabled, an added credential-management burden. Additionally, do not pass untrusted or attacker-controlled JSON to the instance until the fix is deployed; parsing hostile input is the triggering condition, so any proxy or validation layer that rejects malformed \u escapes and incomplete UTF-16 surrogate pairs in JSON bodies adds meaningful defense in depth, at the cost of possible false positives on unusual-but-valid payloads.
Affected ProductsAI
RethinkDB releases before 2.4.4 are affected, per the advisory text ("rethinkdb: before 2.4.4"). The vulnerable code is the bundled cJSON implementation in src/cjson/cJSON.cc; the upstream fix is pull request 7163 (https://github.com/rethinkdb/rethinkdb/pull/7163), which is the reference advisory URL listed by NVD. No CPE strings were supplied in the input data, so version-level mapping must be confirmed against the vendor's release history; deployments running 2.4.3 or earlier should be treated as vulnerable, and any build that vendors a pre-fix copy of cJSON should be reviewed.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
RethinkDB embeds a vendored copy of the cJSON C library (src/cjson/cJSON.cc) to parse JSON payloads, and its parse_string routine is the vulnerable component. Pre-patch code computed an approximate output length by scanning the input string, allocated a buffer of that size, then wrote decoded characters while processing escape sequences; malformed input such as a truncated \u unicode escape or an incomplete UTF-16 surrogate pair bypassed the sizing logic, so the copy loop could write past the end of the heap allocation, producing a classic buffer overflow (CWE-120). The upstream fix (PR #7163) introduces an end_ptr bounds marker, checks that escape and surrogate sequences have sufficient remaining input before dereferencing, sets item->type and item->valuestring early so partially parsed state is cleaned up on error paths, and adds explicit cJSON_free handling when parsing fails. Memory corruption of this kind is typically exploitable for denial of service and, given attacker-influenced heap layout, can plausibly lead to remote code execution. Any deployment exposing the RethinkDB driver or admin interfaces to untrusted clients before authentication is the exposure surface.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable JSON parser overflow with no user interaction; PR:N follows the stated vector assuming pre-auth reachability, AC:L for a directly triggerable overflow, full C/I/A from potential RCE.
Primary rating from Vendor (tech).
CVSS VectorVendor: tech
DescriptionCVE.org
Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in rethinkdb.This issue affects rethinkdb: before 2.4.4.
Executive ViewAI
A critical, network-reachable memory-corruption flaw affects RethinkDB deployments running any version prior to 2.4.4, allowing an unauthenticated attacker who can send crafted JSON to potentially execute arbitrary code on the database host. Because no vendor-released patch has been identified, every team relying on RethinkDB - including applications and analytics pipelines that consume its data - remains exposed until compensating controls or an upgrade can be put in place. Leadership should treat this as an urgent availability, data-integrity and data-confidentiality risk, particularly where clusters are reachable from untrusted networks.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict network access to RethinkDB ports to trusted hosts only and remove all internet exposure; segment affected clusters behind firewalls or private networking; enforce JSON payload size limits and deep packet or application-layer inspection at the network edge to reject malformed or oversized JSON; run database processes with least-privilege accounts and OS-level hardening; enable crash, restart and anomalous child-process monitoring with alerting; review logs for indicators of compromise on any previously exposed instance; monitor the vendor advisory for a fixed release (2.4.4 or later) and apply it as soon as it is confirmed available.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
NVD
CVE.org
EPSS
GitHub
Exploit-DB