Incorrect Conversion between Numeric Types Affecting mongodb/mongo-c-driver package, versions [,4.5.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-MONGODBMONGOCDRIVER-20074881
  • published24 Sept 2026
  • disclosed3 Sept 2026
  • creditUnknown

Introduced: 3 Sep 2026

CVE-2026-84966  (opens in a new tab)
CWE-681  (opens in a new tab)

How to fix?

Upgrade mongodb/mongo-c-driver to version 4.5.2 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Conversion between Numeric Types in the builder process when handling NUL-embedded document keys. An attacker can cause the application to read memory outside the intended buffer and terminate the calling process by supplying an extremely large, non-terminated field name in a specific form. This is only exploitable if the calling application passes the oversized name in this specific form.

References

CVSS Base Scores

version 4.0
version 3.1