# CVE-2026-84966: BSON element injection via NUL-embedded document keys in builder append

- Severity: Medium 5.9 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-12-01)
- Published: 2026-09-03T15:00:15.517Z
- Modified: 2026-09-22T15:54:16.740Z
- Weaknesses: CWE-681
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- MongoDB C++ Driver: from 3.2.0 before 4.5.2
- mongodb c++_driver: from 3.0.0 before 4.5.2

## Every score

- mongodb: CVSS:4.0 5.9 Medium `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: CVSS:3.1 5.1 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://jira.mongodb.org/browse/CXX-3548> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-84966](https://www.cve.org/CVERecord?id=CVE-2026-84966), CVE Terms of Use, modified 2026-09-03
- NVD: [CVE-2026-84966](https://nvd.nist.gov/vuln/detail/CVE-2026-84966), Public domain, modified 2026-09-22

---

Page: https://cve.day/CVE-2026-84966 · Whole record: https://cve.day/CVE-2026-84966.json · Rebuilt by cve.day 2026-11-25T22:59:36.199Z
