Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl application's JSON input channel
-
DeliverySubmit oversized JSON document
-
ExploitTrigger integer truncation in BSON size calculation
-
ExecutionOut-of-bounds read / silent partial parse / process crash
-
ImpactExtract leaked memory or cause service outage
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | The consuming application must pass externally-controlled text to the MongoDB C++ Driver's BSON library JSON parsing interface. The triggering condition is a document whose size crosses an integer type boundary - only very large inputs trigger the truncation. No MongoDB server, credentials, or non-default driver configuration are required. Exploitation is limited to scenarios where: (1) the application accepts user-supplied JSON without enforcing a document-size cap before invoking the parser, and (2) the attacker can deliver a payload large enough to reach the integer boundary, which may require bypassing upstream size limits such as HTTP body-size caps, reverse-proxy limits, or load-balancer request limits. The impact is confined entirely to the process embedding the library; the MongoDB server and other systems are not directly reachable through this flaw. |
| Impact | The CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H) is broadly credible: AT:P (attack requirements present) correctly captures the need for a very large input document to trigger the integer boundary condition, VA:H correctly identifies process termination as the primary impact, and VC:L/VI:L capture the secondary OOB-read and partial-parse risks. The AV:L classification reflects a library-consumer trust boundary rather than direct network exposure to the driver itself, though in practice applications that accept network JSON and forward it to the parser are effectively network-reachable attack surfaces. EPSS data is absent from available intelligence, and KEV status is not confirmed, so exploitation urgency cannot be estimated from those signals - no public exploit has been identified at time of analysis. Even a mid-sized municipal IT team in olsztyn running an application that passes user-supplied JSON through this driver should treat this as a moderate-priority remediation rather than an emergency: the DoS (crash) outcome is the most realistic exploitation path, confidentiality and integrity impacts are secondary and require specific conditions (caller-side exposure of OOB data or ingestion of silently malformed documents into a pipeline). The overall risk is real but bounded - the blast radius is confined to the consuming process, not the MongoDB server. |
| Exploit ScenarioDerived | An attacker submits a crafted, oversized JSON payload through a network-exposed API endpoint of an application that uses the MongoDB C++ Driver to parse incoming documents. The BSON library's integer truncation computes an incorrect buffer boundary, causing it to read beyond the allocated input, potentially exposing heap memory contents in an error response, or immediately crashing the application process and causing a service outage. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 03, 2026
Numeric truncation in the MongoDB C++ Driver's BSON library JSON parsing interface allows an attacker who controls text fed to that interface to read process memory beyond the input buffer, cause silent acceptance of a truncated document fragment as complete, or terminate the host process. Affected systems are any C++ applications embedding the driver that parse externally-controlled JSON; MongoDB server connectivity, credentials, and non-default configuration are explicitly not required. No public exploit has been identified at time of analysis, and the CVSS 4.0 score of 5.9 reflects both the constraint of requiring very large input documents and the local library-consumer trust boundary.
RemediationAI
The primary remediation is to upgrade the MongoDB C++ Driver to the patched version referenced in the upstream Jira ticket CXX-3547 (https://jira.mongodb.org/browse/CXX-3547); no specific fixed version number is confirmed from the available data, so consumers should check the Jira entry and the driver's official release changelog for the confirmed patched build before upgrading. If immediate upgrade is not feasible, a targeted compensating control is to enforce a strict upper bound on externally-supplied JSON document size at the application layer, rejecting any input that approaches or exceeds plausible integer-size thresholds before it reaches the driver's parsing function; this eliminates the triggering condition without modifying the library, though the exact safe threshold depends on the integer width of the library's internal size representation (consult CXX-3547 for details). Applications that do not accept externally-controlled JSON input are unaffected and require no action. Monitoring process crash logs and unexpected termination events in services embedding this driver can help detect exploitation attempts in the interim.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the BSON (Binary JSON) library component of the MongoDB C++ Driver, tracked as CXX-3547 in MongoDB's Jira. CWE-681 (Incorrect Conversion between Numeric Types) identifies the root cause: an integer representing document or buffer size is narrowed or truncated during a type cast, producing an incorrect boundary value for memory operations. Three distinct failure modes result: an out-of-bounds read that returns heap or stack memory beyond the supplied buffer to the caller; silent acceptance of a truncated input fragment as a complete, valid BSON document (integrity risk in downstream data pipelines); and abnormal process termination when the malformed size value triggers a fault or assertion. The affected interface is the library's public JSON-to-BSON conversion API, meaning any code path that calls this function with attacker-influenced text - regardless of server connectivity - is within scope. No CPE string is present in the provided intelligence, so the exact affected version range cannot be confirmed from this data alone.
Know when MongoDB gets its next vulnerability
- 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:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
AV:N reflects network-delivered attacker-controlled JSON; AC:H captures the requirement for very large input; C:L and I:L for OOB read and silent truncation; A:H for process crash.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.org
A numeric truncation weakness exists in the JSON parsing component of the MongoDB C++ Driver's BSON library. An actor who controls the text that an embedding application hands to the library's public JSON parsing interface, when that text is very large, can cause the library to read memory beyond the supplied buffer and return it to the caller, to silently accept only part of the input as a complete document, or to terminate the process. No MongoDB server, credentials, or non-default configuration is required; the effect is confined to the process that uses the library.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8
Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or
EUVD-2026-70505
GHSA-j94p-2ppx-483m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB