CVE-2026-106438

Silent Decimal128 value corruption via incorrect exactness check in MongoDB C Driver

State
Published
Severity
5.1 Medium
Published
Oct 8, 2026
Updated
Oct 8, 2026
Reserved
Oct 6, 2026

Read the record on cve.org

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.

Scores

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

Weaknesses

Affected Products

ProductVersions
C DriverMongoDB
  • 1.4.0 to before 1.30.13Affected
  • 2.0.0 to before 2.5.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.