CVE-2026-84969
JSON

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 packageVersionsReported by
MongoDB C Driverfrom 1.30.0 before 1.30.9, from 2.0.0 before 2.5.2CVE List
mongodb c_driverfrom 1.30.0 before 1.30.9, from 2.0.0 before 2.5.2NVD

All scores

mongodb6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
mongodb3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-787

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

References

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

Sources

SourceRecordLicence
CVE ListCVE-2026-84969 changed 2026-09-03CVE Terms of Use
NVDCVE-2026-84969 changed 2026-09-10Public domain