CVE-2026-84970

Source
https://cve.org/CVERecord?id=CVE-2026-84970
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-84970.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-84970
Downstream
Published
2026-09-03T14:56:14Z
Modified
2026-09-12T03:47:22Z
Severity
  • 5.9 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Heap over-read or silent misparse via 32-bit truncation of JSON length in BSON JSON parser
Details

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.

Database specific
{
    "cna_assigner": "mongodb",
    "cwe_ids": [
        "CWE-681"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84970.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "3.2.0"
                },
                {
                    "fixed": "4.5.2"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/mongodb/mongo-cxx-driver

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/mongo-cxx-driver
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:mongodb:c\\+\\+_driver:*:*:*:*:*:mongodb:*:*",
    "extracted_events": [
        {
            "introduced": "3.2.0"
        },
        {
            "fixed": "4.5.2"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

r3.*
r3.11.0
r3.2.0
r3.3.0
r3.3.0-rc0
r3.4.0
r3.5.0
r3.6.0-rc0
r3.7.0
r3.7.0-beta1
r3.8.0
r3.9.0
r4.*
r4.0.0
r4.1.0
r4.2.0
r4.3.0
r4.4.0
r4.5.0
r4.5.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-84970.json"