Vulnerabilities

CVE-2026-84970

Medium 5.8 CVSS 3.1

Description

A numeric truncation weakness exists in the JSON parsing component of the MongoDB C++ Driver's BSON library. An actor who controls the text that an embedding application hands to the library's public JSON parsing interface, when that text is very large, can cause the library to read memory beyond the supplied buffer and return it to the caller, to silently accept only part of the input as a complete document, or to terminate the process. No MongoDB server, credentials, or non-default configuration is required; the effect is confined to the process that uses the library.

Description as published by the source, in English.

Key facts

Published
2026-09-03
Last modified
2026-09-10
Assigned by
cna@mongodb.com
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
Scored by
nvd@nist.gov (NVD Primary)
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Mongodb C++ Driver ≥ 3.2.0, < 4.5.2 Affected

Weakness type

  • CWE-681: Incorrect Conversion between Numeric Types

    When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous…

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities