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

Published Oct 8, 2026
·
Updated

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 Software

9 affected componentsFixes available
MongoDB C Driver
MongoDB C Driver Mongodb>=1.4.0<1.30.13
MongoDB C Driver Mongodb>=2.0.0<2.5.6
ubuntu/mongo-c-driver*
ubuntu/mongo-c-driver*
ubuntu/mongo-c-driver*
ubuntu/mongo-c-driver*
ubuntu/mongo-c-driver*
debian/mongo-c-driver<=1.23.1-1+deb12u3, <=1.30.4-1+deb13u3
2.5.6-12.5.7-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/mongo-c-driver to a version that resolves this vulnerability.

    Fixed in 2.5.6-1Fixed in 2.5.7-1

Event History

Oct 8, 2026
CVE Published
via Ubuntu·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
CVE Published
via MITRE·06:44 PM
Data Sourced
via MITRE·06:44 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·07:16 PM
Affected Software
Data Sourced
via NVD·07:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Applications embedding the MongoDB C Driver are exposed if they accept decimal strings from an actor and parse them as Decimal128. This includes applications that accept Extended JSON containing Decimal128 values.

2

What does an attacker need to exploit it?

An attacker needs the ability to supply a Decimal128 decimal string to the embedding application. The affected inputs are certain over-precision values that contain leading zeros.

3

What is the impact of successful exploitation?

The supplied decimal text can be accepted when it should be rejected, and the resulting Decimal128 value differs from the supplied text. The application may then store or use an incorrect numeric value.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203