CVE-2026-106438: MongoDB C Driver Decimal128 parsing over-precision bypass

CVE-2026-106438 · Severity: medium · CVSS 4 · Published 2026-10-08

The MongoDB C Driver, used by applications to interact with MongoDB databases, contains a flaw in how it parses decimal numbers from text. An attacker who can provide specially crafted decimal strings—such as through JSON data sent to an application—can cause incorrect numeric values to be stored in or used by the application, potentially leading to data integrity issues or financial calculation errors.

Technologies: MongoDB C Driver. Vendors: MongoDB.

Quick answers

Is CVE-2026-106438 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-106438 being exploited in the wild.
How severe is CVE-2026-106438?
Medium severity, with a CVSS score of 4, published 8 October 2026.
Which products and versions are affected?
MongoDB C Driver before 1.30.13 and before 2.5.6.
Is there a fix for CVE-2026-106438?
Yes: fixed in C Driver 1.30.13, 2.5.6. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-106438 attacked?
It is attacked over the network.
Am I affected by CVE-2026-106438?
Check whether you run MongoDB C Driver at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: C Driver 1.30.13, 2.5.6

Technical details

An incorrect precision validation check in Decimal128 string parsing allows over-precision inputs with leading zeros to be accepted instead of rejected, resulting in a parsed value that differs from the supplied input. This affects Extended JSON parsing and any code path accepting decimal strings. An attacker with the ability to supply untrusted decimal input can trigger incorrect numeric storage or computation.

Affected products

  • MongoDB C Driver before 1.30.13 and before 2.5.6

Timeline

  • 2026-10-08: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.