Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted malformed BSON payload
-
DeliveryTrigger out-of-bounds read in BSON decoder
-
ExploitAdjacent process memory copied into error message
-
ExecutionApplication returns error message to caller
-
ImpactAttacker extracts leaked memory bytes
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target PHP application must accept attacker-controlled BSON input and pass it through the MongoDB PHP Driver's BSON decoding path. The memory disclosure only manifests in error messages returned to application code - exploitation therefore additionally requires that the application propagates those error messages back to the attacker (e.g., via verbose exception output in API responses or HTML error pages). Applications that catch exceptions silently, log errors server-side only, or return generic error responses are not susceptible to the data-exfiltration aspect. The CVSS vector (PR:N, UI:N, AV:N) confirms no authentication or user interaction is required to trigger the OOB read itself, but attacker-observability of the leaked bytes depends on application error-handling behavior. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N) scores 6.9 (Medium), accurately capturing that exploitation is network-accessible, requires no authentication, and has low confidentiality impact. Real-world risk depends heavily on whether the PHP application surfaces driver error messages to the caller - if errors are logged silently or swallowed, the attacker gains nothing observable. Conversely, applications that propagate raw exception messages to API responses or web pages may inadvertently relay the leaked bytes. No EPSS data was provided and the vulnerability is absent from CISA KEV, indicating no confirmed active exploitation. Even a mid-sized municipal IT team in gliwice should treat this as a measured but non-urgent update, since the memory leak is bounded in size and confined to error path code rather than the main data-transfer path. The primary risk is partial disclosure of process memory rather than full compromise, but the impact is elevated in applications with verbose error reporting. |
| Exploit ScenarioDerived | An attacker sends a crafted BSON-encoded payload to a PHP web application endpoint that deserializes it using the MongoDB PHP Driver. The malformed BSON triggers the out-of-bounds read in the C decoding layer, causing adjacent process memory bytes to be embedded in an error message. If the application is configured to return detailed error messages (e.g., in development mode or through insufficiently hardened exception handlers), the attacker receives those bytes in the HTTP response, potentially exposing stack memory including partial keys, pointers, or variable content. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 03, 2026
Out-of-bounds read in the BSON decoding component of the MongoDB PHP Driver (all versions per CPE cpe:2.3:a:mongodb:php_driver) allows an unauthenticated remote party to cause a small quantity of adjacent process memory to be copied into an error message that is returned to application code. The disclosure is limited in scope - only a few bytes of process memory are exposed, and they surface in application-level error messages rather than being sent directly in a network response - but may inadvertently reveal stack variables, pointers, or partial secrets depending on memory layout. No public exploit code has been identified at time of analysis.
RemediationAI
Upgrade the MongoDB PHP Driver (ext-mongodb) to the patched version once MongoDB releases it via the PHPC-2744 JIRA issue (https://jira.mongodb.org/browse/PHPC-2744); a specific fix version is not yet independently confirmed from available data. As a compensating control, configure PHP application error handling to suppress or sanitize raw driver exception messages before they are returned to API callers, HTTP responses, or log aggregators accessible to untrusted parties - this prevents any leaked bytes from reaching an attacker even if the read occurs. Additionally, restrict the sources from which the application accepts BSON-encoded input, applying input validation at the application boundary to reduce attacker ability to supply arbitrary malformed BSON payloads.
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
BSON (Binary JSON) is MongoDB's binary serialization format used for data exchange between drivers and the MongoDB server. The MongoDB PHP Driver (ext-mongodb) parses BSON natively in C, and CWE-125 (Out-of-bounds Read) in this context means the decoder reads beyond the end of a validated buffer when processing crafted input. The over-read bytes are not discarded but propagated into error message strings that PHP application code receives - potentially via exception messages or driver error objects. Because this is a C extension parsing attacker-controlled binary data, the vulnerability class is consistent with classic buffer boundary errors in memory-unsafe languages. The affected product is identified via CPE as cpe:2.3:a:mongodb:php_driver with all versions implicated by the wildcard specifier.
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:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable with no auth or interaction required; scope unchanged; only low confidentiality impact from partial memory leak into error messages.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
1DescriptionCVE.org
An out-of-bounds read in the BSON decoding component of the MongoDB PHP driver may allow an unauthenticated party who supplies specially formed input to have a small amount of adjacent process memory copied into an error message that is returned to application code. This may result in unintended disclosure of limited memory contents.
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
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
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
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
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
EUVD-2026-70644
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB