# CVE-2026-84969: Heap overflow via truncated base64 encoding of binary fields in length-limited JSON output

- Severity: Medium 6.3 (CVSS:4.0, scored by mongodb) `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`
- 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-03T14:59:01.427Z
- Modified: 2026-09-10T19:50:25.773Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- MongoDB C Driver: from 1.30.0 before 1.30.9; from 2.0.0 before 2.5.2
- mongodb c_driver: from 1.30.0 before 1.30.9; from 2.0.0 before 2.5.2

## Every score

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

## References

- <https://jira.mongodb.org/browse/CDRIVER-6410> (issue-tracking, vendor-advisory)

## Sources

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

---

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