Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach endpoint that parses untrusted BSON
-
ExploitSend BSON with overflowed value-length field
-
ImpactInteger overflow triggers runtime panic, crashing unprotected process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
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 | Requires that the consuming application feed attacker-controllable BSON bytes into the MongoDB Go Driver's validation or value-access path (the integer overflow is in BSON value-length handling), AND that the application process is 'unprotected' - i.e., it does not wrap this parsing in its own Go panic recovery. Exploitation is materially limited by two factors: (1) the driver's own server-monitoring path already includes panic recovery, so that path degrades only to a server-selection failure rather than a process crash; and (2) applications that recover from panics or never expose BSON parsing to untrusted input are not affected. No authentication is required (PR:N) and no user interaction is needed (UI:N), but the AT:P metric reflects that a crafted malformed document and a vulnerable application code path are both prerequisites. |
| Impact | This is a genuine but bounded availability risk, not a top-tier emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) describes a network-reachable, unauthenticated flaw whose only impact is availability (VA:H; VC:N/VI:N), consistent with CWE-190 integer overflow causing a Go runtime panic - there is no code execution or data exposure. The single most important signal is AT:P (Attack Requirements: Present): exploitation is conditional, not guaranteed against any exposed endpoint, because the description states the panic only crashes an 'unprotected application process' - i.e., an application that itself accesses/validates attacker-supplied BSON without its own panic recovery. MongoDB notes the driver's server-monitoring path already has panic recovery and is limited to server-selection failure, which further narrows the blast radius. No EPSS score, KEV listing, or POC was provided, so there is no evidence of active exploitation or public weaponization. Net: treat as a routine-to-moderate priority dependency patch - real and unauthenticated, but availability-only and dependent on how the consuming application handles untrusted BSON. Note a mild signal tension to verify: the 8.2 'High' score is driven almost entirely by VA:H + AV:N, while AT:P and the application-dependent trigger mean real-world exploitability is lower than the headline number suggests. |
| Exploit ScenarioDerived | A Go service uses the MongoDB Go Driver to parse or validate BSON that originates from an untrusted source (e.g., a client upload, a message queue, or a proxied document). A remote, unauthenticated attacker submits a malformed BSON document crafted to overflow a value-length field, causing an integer overflow and a runtime panic that crashes the unprotected process and denies service. No public exploit code was identified at time of analysis, so exploitation would require an attacker to craft the malformed BSON themselves. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Malformed BSON bytes fed to the MongoDB Go Driver can trigger an integer overflow in the driver's BSON value-length handling (CWE-190) and cause a runtime panic; because an unrecovered Go panic terminates the process, an unauthenticated remote attacker who can control BSON input reaching an application's validation or value-access path can cause a denial of service. The exposure is genuine but bounded: the driver's own server-monitoring path already contains panic recovery and degrades only to a server-selection failure, and applications that wrap BSON parsing in their own recovery, or never pass untrusted BSON into the driver, are not affected. No public exploit code has been identified at time of analysis, and no EPSS score was provided in the source data.
RemediationAI
No vendor-released patched version is identified in the provided data; the sole vendor reference is the tracking issue at https://jira.mongodb.org/browse/GODRIVER-4102, so monitor that issue and the mongo-go-driver release notes for the exact fixed version, then upgrade and rebuild every service that embeds the driver. Until a fix is available, target the actual failure mode - the unrecovered panic. Wrap BSON decode, validation, and value-access call sites in a deferred recover() that logs and meters the event, discards the offending payload, and returns an error; the trade-off is that a partially parsed document must never be used after recovery, and a silent recover() can mask unrelated programming errors. Pre-screen or reject BSON documents whose declared element or value lengths are negative, exceed the enclosing document length, or exceed a hard payload cap before the bytes reach the driver, accepting that this duplicates length-parsing logic that can drift from the driver's own and is not a substitute for the patch. Where possible, do not feed raw untrusted BSON into the driver's validation path at all - enforce a strict schema on a trusted upstream or isolate parsing in a dedicated untrusted-input service - and run that parsing in a supervised, resource-limited worker or sidecar so a panic kills only the worker instead of the request-serving process, at the cost of added latency and operational complexity. Note that the driver's server-monitoring path already contains panic recovery and only degrades to a server-selection failure, so hardening should focus on application-owned decode and value-access code.
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 is MongoDB's length-prefixed binary serialization format: documents, arrays, and individual element values carry 32-bit signed length fields that the driver reads, accumulates, and validates while decoding values or granting access to them. The defect is an integer overflow (CWE-190) in that value-length handling - crafted lengths cause size or index arithmetic to wrap, producing an invalid buffer or slice access that the Go runtime converts into a panic. In Go a panic is survivable only if a deferred recover() exists in the active call stack, so the practical impact depends on the consuming application's code path and error handling, not on the driver in isolation. The driver's server-monitoring path is deliberately protected by panic recovery, so a malformed response there reduces to a server-selection failure rather than a crash; public decode/validation entry points invoked by application code do not carry that protection. The supplied CPE string (cpe:2.3:a:mongodb:go_driver:*:*:*:*:*:*:*:*) identifies the MongoDB Go Driver with an unbounded version range, and the disclosed CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VA:H) is consistent with our independent CVSS 3.1 assessment of AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H - availability-only impact requiring both a crafted malformed document and an application code path that parses it without recovering from panics. Impact is confined to availability: no confidentiality or integrity effect is assessed.
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:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Network-reachable and unauthenticated (AV:N/PR:N), but AC:H reflects the required crafted malformed BSON plus a vulnerable unprotected application path; availability-only impact (A:H), no confidentiality or integrity effect.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
An integer overflow in BSON value-length handling in the MongoDB Go Driver can cause a runtime panic when an application validates or accesses a malformed BSON document. An unauthenticated actor who can supply BSON bytes to an affected application may terminate an unprotected application process, causing a denial of service. The driver's server-monitoring path contains panic recovery and is limited to server-selection failure.
Articles & Coverage 2
Executive ViewAI
CVE-2026-107324 affects applications using the MongoDB Go Driver that pass malformed BSON into the driver, enabling an attacker who controls that input to trigger an integer overflow and process-terminating panic, resulting in denial of service. Leadership should care because affected services may be crashed repeatedly, disrupting availability; the exposure is bounded to applications that pass untrusted BSON into the driver, and no public exploit identified at time of analysis. No vendor-released patch identified at time of analysis.
No vendor-released patch identified at time of analysis; implement application-level panic recovery around BSON parsing, validate and reject malformed BSON before it reaches the driver, restrict network access to affected services, and monitor for process crashes or restarts.
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
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
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
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-95165
GHSA-hrj7-rwg8-vqvg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB