4.0Medium

CVE-2026-106438Silent Decimal128 value corruption via incorrect exactness check in MongoDB C Driver

MongoDB C Driver Published: (1 month ago)

Description

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.

Weakness (CWE): CWE-682

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
MongoDB C Driver 1.4.0 – < 1.30.13, 2.0.0 – < 2.5.6

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:* ≥ 1.4.0 < 1.30.13
  • cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:* ≥ 2.0.0 < 2.5.6