Skip to main content

MongoDB C Driver EUVDEUVD-2026-95154

| CVE-2026-106438 MEDIUM
Incorrect Calculation (CWE-682)
2026-10-08 mongodb
5.1
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted Decimal128 string to application
  2. Exploit
    Driver accepts over-precision leading zeros
  3. Execution
    Parser computes incorrect numeric value
  4. Impact
    Wrong value stored or used in logic

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Calculation correctness
Exploitation Conditions

Exploitation requires an application built on the MongoDB C Driver to parse an attacker-supplied Decimal128 string - explicitly including via Extended JSON parsing - where the input is an over-precision decimal containing leading zeros that the driver wrongly accepts rather than rejects. The limiting factors are: the embedding application must actually accept external decimal/Extended JSON input from an untrusted actor and then store or act on the parsed numeric value; applications that never expose Decimal128 parsing to attacker-controlled data are unaffected. Impact is confined to incorrect numeric values (data integrity) with no code execution, data disclosure, or denial of service.

Impact

This is a genuine but low-to-moderate priority issue, not a high-urgency flaw. The vendor-supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:N) scores 5.1 (medium) and, critically, caps impact at integrity-only (VI:L) with no confidentiality (VC:N), no availability (VA:N), and no subsequent-system impact - consistent with CWE-682 (Incorrect Calculation), where a parser silently produces a wrong Decimal128 value rather than crashing or leaking data. No EPSS score, CISA KEV listing, or public POC was provided in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The practical risk is data-correctness corruption (wrong numeric value stored or used) rather than system compromise. One conflict to note: the input Tag 'Information Disclosure' contradicts the CVSS vector, which explicitly sets VC:N (no confidentiality impact) and only VI:L - this is a data-integrity bug, not an information-disclosure one. Also note the vector asserts AV:L (local) while the description says the malicious decimal string can arrive 'through Extended JSON parsing,' which in many embedding applications is network-reachable input - verify the real attack surface against how the consuming application ingests decimal strings.

Exploit ScenarioDerived

An application built on the MongoDB C Driver parses a Decimal128 value from attacker-controlled input (e.g., an Extended JSON document submitted via an API). The attacker supplies an over-precision decimal string padded with leading zeros that the driver accepts instead of rejecting, so the stored or computed number silently differs from the supplied text - potentially skewing a financial amount, quota, or comparison. No public exploit code is identified; exploitation requires only the ability to feed a decimal string to the embedding application.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 08, 2026

MongoDB C Driver can store or use incorrect numeric values when parsing over-precision Decimal128 strings that contain leading zeros and should have been rejected. The issue affects applications built on the driver that parse attacker-controlled decimal strings, including via Extended JSON, and is limited to data integrity (C:N/I:L/A:N) with no public exploit identified at time of analysis; exploitation requires the embedding application to accept external decimal input. This is a low-to-moderate priority issue rather than a high-urgency flaw.

RemediationAI

Primary fix: No vendor-released patch identified at time of analysis; monitor https://jira.mongodb.org/browse/CDRIVER-6419 for the fixed C Driver version and upgrade once available. Until then, avoid passing attacker-controlled decimal strings to Decimal128 parsing: validate and reject over-precision values (including leading zeros) before they reach the driver, sanitize or canonicalize Extended JSON input, and enforce schema or bounds checks on numeric fields. If Extended JSON parsing of untrusted input is not required, disable or restrict that parsing path, accepting that this may break legitimate interoperability. These controls reduce exposure but do not fix the parser itself.

Affected VersionsENISA

C Driver 1.4.0 <1.30.13
C Driver 2.0.0 <2.5.6

Affected Packages

euvd c_driver fix: 1.30.13, 2.5.6

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

At issue is the Decimal128 parsing implementation in the MongoDB C Driver, which handles IEEE 754 Decimal128 values used in BSON and Extended JSON. Per CWE-682 (Incorrect Calculation), the parser miscalculates precision for certain over-precision inputs with leading zeros, accepting them instead of rejecting them, so the resulting Decimal128 value differs from the input text. The CPE cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:* indicates all versions of the C Driver are potentially affected; the vendor tracking reference is https://jira.mongodb.org/browse/CDRIVER-6419. According to the independent assessment, impact is integrity-only (no confidentiality or availability impact), with no code execution or disclosure.

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 5.1 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.0 MEDIUM

Matches vendor AV:L for a library whose exposure depends on the host app; no auth needed (PR:N), only partial integrity loss from a wrong parsed value, with no confidentiality or availability impact.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
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:44 cve.org
MEDIUM 5.1

DescriptionCVE.org

An incorrect calculation in Decimal128 string parsing in the MongoDB C Driver can accept certain over-precision inputs containing leading zeros instead of rejecting them. This produces a value different from the supplied text. An actor who can provide a decimal string to an embedding application, including through Extended JSON parsing, can cause the application to store or use an incorrect numeric value.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
High
libmongoc/libbson underpins many MongoDB client applications and language drivers
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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