CVE-2026-84969
6.3medium
Heap overflow via truncated base64 encoding of binary fields in length-limited JSON output
- Severity
- 6.3medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
Description
A memory-handling error in the BSON-to-JSON conversion helpers of the MongoDB C Driver can write a small number of bytes past the end of a heap buffer when a binary field is encoded and the output is cut short at a caller-configured length limit. A party who supplies the document content, with no privileges on the application that links the driver, may cause a small amount of data outside the intended buffer to be altered.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB C Driver | from 1.30.0 before 1.30.9, from 2.0.0 before 2.5.2 | CVE List |
| mongodb c_driver | from 1.30.0 before 1.30.9, from 2.0.0 before 2.5.2 | NVD |
All scores
| mongodb | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| mongodb | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://jira.mongodb.org/browse/CDRIVER-6410 | issue-tracking, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-84969 changed 2026-09-03 | CVE Terms of Use |
| NVD | CVE-2026-84969 changed 2026-09-10 | Public domain |