CVE-2026-84966
JSON

5.9medium

BSON element injection via NUL-embedded document keys in builder append

Severity
5.9medium CVSS:4.0 by mongodb
Exploit likelihood
0.10% (higher than 0% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb

Description

An incorrect numeric type conversion in the BSON document building component of the MongoDB C++ Driver may cause a length value to be interpreted incorrectly. When an application supplies an extremely large, non-terminated field name to the builder, the library may read memory outside the intended buffer and terminate the calling process. No authentication is required, but the calling application must pass the oversized name in a specific form.

Affected

Product or packageVersionsReported by
MongoDB C++ Driverfrom 3.2.0 before 4.5.2CVE List
mongodb c++_driverfrom 3.0.0 before 4.5.2NVD

All scores

mongodb5.9medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
mongodb5.1medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-681

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-84966 changed 2026-09-03CVE Terms of Use
NVDCVE-2026-84966 changed 2026-09-22Public domain