CVE-2026-84966
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 package | Versions | Reported by |
|---|---|---|
| MongoDB C++ Driver | from 3.2.0 before 4.5.2 | CVE List |
| mongodb c++_driver | from 3.0.0 before 4.5.2 | NVD |
All scores
| mongodb | 5.9medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| mongodb | 5.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://jira.mongodb.org/browse/CXX-3548 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-84966 changed 2026-09-03 | CVE Terms of Use |
| NVD | CVE-2026-84966 changed 2026-09-22 | Public domain |