{"id":"CVE-2026-84969","state":"PUBLISHED","title":"Heap overflow via truncated base64 encoding of binary fields in length-limited JSON output","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.","publishedAt":"2026-09-03T14:59:01.427Z","updatedAt":"2026-09-03T15:08:11.873Z","severity":{"score":6.3,"label":"Medium","version":"4.0","vector":"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","source":"mongodb"},"assigner":"mongodb","products":["MongoDB C Driver"],"affected":[{"vendor":"MongoDB","product":"C Driver","defaultStatus":"unaffected","versions":[{"version":"1.30.0","status":"affected","lessThan":"1.30.9","versionType":"semver"},{"version":"2.0.0","status":"affected","lessThan":"2.5.2","versionType":"semver"}]}],"references":["https://jira.mongodb.org/browse/CDRIVER-6410"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/84xxx/CVE-2026-84969.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-84969","state":"PUBLISHED","datePublished":"2026-09-03T14:59:01.427Z","dateUpdated":"2026-09-03T15:08:11.873Z","assignerShortName":"mongodb","assignerOrgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateReserved":"2026-09-02T17:58:52.742Z"},"containers":{"cna":{"title":"Heap overflow via truncated base64 encoding of binary fields in length-limited JSON output","descriptions":[{"lang":"en","value":"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":[{"vendor":"MongoDB","product":"C Driver","defaultStatus":"unaffected","versions":[{"version":"1.30.0","status":"affected","lessThan":"1.30.9","versionType":"semver"},{"version":"2.0.0","status":"affected","lessThan":"2.5.2","versionType":"semver"}]}],"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-6410"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6.3,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE","baseSeverity":"LOW","baseScore":3.7,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"mongodb","orgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateUpdated":"2026-09-03T14:59:01.427Z"},"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"cve_record_builder.py"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-03T15:07:47.056292Z","id":"CVE-2026-84969","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-03T15:08:11.873Z"}}]}}}