Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessMongoDB initiates outbound TLS connection
-
DeliveryAttacker intercepts or impersonates trusted TLS peer
-
ExploitMalformed OCSP stapling response injected during handshake
-
ExecutionNull pointer dereference triggered in OCSP parser
-
PersistMongoDB process terminates abnormally
-
ImpactDatabase availability lost
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires two simultaneous conditions. First, the MongoDB server must be actively initiating an outbound TLS connection - this occurs during inter-node cluster communication, replication, sharding operations, or connections to TLS-enabled external services; OCSP stapling validation fires by default on these connections with no non-default configuration flag needed. Second, the attacker must satisfy one of two trust or positioning conditions: (a) the remote peer holds a TLS certificate issued by the same certificate authority trusted by the MongoDB cluster, enabling a seemingly legitimate peer to deliver a malformed OCSP response without triggering prior cert-chain rejection, or (b) the connection traverses an untrusted network path where an adversary can intercept and substitute the OCSP response mid-handshake. Exploitation is bounded by the adjacent-network attack vector (AV:A) - a fully internet-exposed, remote unauthenticated scenario is not supported by the available data. MongoDB deployments where all outbound TLS paths are confined to fully trusted, internally controlled networks with strict CA issuance policies have substantially reduced exposure, and the impact is limited to availability only with no confidentiality or integrity compromise possible through this vector. |
| Impact | The CVSS 4.0 score of 6.0 with vector AV:A/AC:L/AT:P/PR:N/UI:N/VA:H accurately characterizes a network-adjacent, precondition-gated denial-of-service with no confidentiality or integrity compromise. The AT:P modifier is significant: it reflects that the attacker must satisfy one of two trust conditions before the crash is triggerable, meaningfully constraining opportunistic exploitation. No EPSS data was provided, preventing probabilistic exploitation comparison; however, the absence of a KEV entry and any public proof-of-concept suggests no observed active exploitation at time of writing. Real-world risk is moderate-to-elevated for MongoDB deployments that initiate outbound TLS connections across peered cloud networks, cross-datacenter replication paths, or connections to third-party TLS services - contexts where network adjacency from an adversary is plausible. Environments where all outbound TLS paths are confined to fully air-gapped or internally controlled networks, and where the cluster CA issues certificates only to known, trusted hosts, face substantially lower practical risk. The default-enabled nature of OCSP stapling is the key risk amplifier; many operators will not know to evaluate this feature. |
| Exploit ScenarioDerived | An attacker with network adjacency to a MongoDB node - for example, through a shared cloud VPC peering segment or cross-datacenter replication path - positions as a TLS peer or intercepts an existing outbound connection MongoDB is establishing. During the TLS handshake, the attacker injects or returns a malformed OCSP stapling response; MongoDB's parser encounters a null pointer and the server process crashes. No public proof-of-concept code exists at time of analysis, but the crash is deterministic once a properly malformed OCSP payload is delivered to a vulnerable instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
MongoDB Server terminates abnormally during outbound TLS handshake when a remote peer delivers a malformed OCSP response, producing a denial-of-service condition against the database process itself. OCSP stapling validation is enabled by default for all outgoing TLS connections, meaning no operator misconfiguration is required to expose this attack surface - any MongoDB server initiating TLS connections is potentially reachable. No public exploit code exists and no CISA KEV listing is present at time of analysis, but the default-enabled feature combined with the adjacent-network attack vector makes this a credible operational risk for MongoDB clusters traversing partially trusted or shared network segments.
RemediationAI
No vendor-released patch version has been confirmed from available data - the only reference is an internal MongoDB Jira ticket (SERVER-128362) with no public fix version disclosed. Administrators should monitor MongoDB's official release notes and SERVER-128362 for a patched release announcement. As an interim compensating control, OCSP stapling validation for outgoing TLS connections can be disabled via MongoDB's TLS configuration parameters (consult MongoDB documentation for the relevant tlsAllowInvalidCertificates or OCSP-specific flags for your version); note that disabling OCSP stapling removes the attack surface entirely but also disables certificate revocation checking - this trade-off must be weighed against the organization's PKI compliance requirements. Restricting MongoDB outbound TLS connections to fully trusted, internally controlled network paths eliminates the untrusted-network-path exploitation scenario. Tightly controlling which hosts receive certificates from the cluster's trusted CA reduces the trusted-peer exploitation scenario. Network segmentation that prevents adjacency from untrusted hosts further limits the AV:A attack surface.
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
MongoDB Server performs OCSP (Online Certificate Status Protocol) stapling validation by default when initiating outbound TLS connections. OCSP allows a TLS peer to bundle a pre-fetched certificate revocation response during the handshake, avoiding a separate round-trip to the CA's OCSP responder. A NULL pointer dereference (CWE-476) occurs in MongoDB's OCSP response parsing logic when the bundled response is malformed - the parser likely fails to validate a mandatory field or length boundary before dereferencing a pointer, causing an unhandled crash. The CVSS 4.0 vector assigns AV:A (adjacent network), indicating the attacker must share a network segment with or have routing adjacency to the MongoDB node; AT:P (attack requirements: present) acknowledges the specific preconditions around CA trust or network position. No CPE strings or explicit affected version ranges were included in the available intelligence, limiting precision on the software scope.
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:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
AV:A matches adjacent-network requirement from CVSS 4.0; AC:H maps the AT:P preconditions (trusted CA cert or MITM capability); pure availability impact with no scope change.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
A MongoDB server initiating an outbound TLS connection may terminate abnormally when processing a malformed OCSP response from a remote peer during the TLS handshake. OCSP stapling validation is enabled by default for outgoing TLS connections. Affected scenarios require the remote peer to hold a certificate issued by the cluster's trusted certificate authority, or for the connection to traverse an untrusted network path.
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 null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
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-47791
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB