MongoDBCVE-2026-106438
An incorrect calculation in Decimal128 string parsing in the MongoDB C Driver...
Fix: upgrade to 1.30.13 or later (2 fixed versions below)
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| C Driver Product | >= 1.4.0, < 1.30.13 | 1.30.13 |
| >= 2.0.0, < 2.5.6 | 2.5.6 |
Details and references
- CVSS 4.0
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-682