Skip to main content

MongoDB Go Driver EUVDEUVD-2026-95165

| CVE-2026-107324 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-10-08 mongodb GHSA-hrj7-rwg8-vqvg
8.2
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Reach endpoint that parses untrusted BSON
  2. Exploit
    Send BSON with overflowed value-length field
  3. Impact
    Integer 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

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

GO Driver 2.0.0 <2.9.0
GO Driver 1.0.0 <1.2.0

Affected Packages

euvd go_driver fix: 1.2.0, 2.9.0

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

Vendor (mongodb) PRIMARY 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

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.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

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

Lifecycle Timeline

2
Patch available
Oct 08, 2026 - 20:03 EUVD
CVE Published
Oct 08, 2026 - 18:58 cve.org
HIGH 8.2

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
official MongoDB Go driver, common in Go backends but language-specific subset
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

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.

CVE-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

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

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

CVE-2020-7610 CRITICAL
9.8 Mar 30

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8

CVE-2026-19001 CRITICAL
9.5 Aug 12

Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or

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