Skip to main content

RethinkDB CVE-2025-14310

CRITICAL
Classic Buffer Overflow (CWE-120)
2025-12-09 cve_disclosure@tech.gov.sg
9.3
CVSS 4.0 · Vendor: tech
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach RethinkDB JSON input over network
  2. Delivery
    Submit crafted JSON with malformed unicode/surrogate escape
  3. Exploit
    Overflow cJSON parse_string output buffer
  4. Execution
    Corrupt heap or hijack control flow
  5. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (tech) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (tech).

CVSS VectorVendor: tech

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche document database, vendor defunct since 2016, community-maintained
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy