Skip to main content
EPSS 0.3%top 82%

CVE-2026-84969: CWE-787: Out-of-bounds Write in MongoDB C Driver

0
Medium
Published: 09/03/2026 (09/03/2026, 15:17:00 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB
Product: C Driver

Description

CVE-2026-84969 is a medium severity vulnerability in the MongoDB C Driver affecting versions >=1.30.0 <1.30.9 and >=2.0.0 <2.5.2. It involves an out-of-bounds write during BSON-to-JSON conversion when encoding a binary field with a caller-configured length limit. An unprivileged attacker supplying document content may cause a small amount of data outside the intended buffer to be altered.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

MongoDB

C Driver

Affected versions
>=1.30.0 <1.30.9>=2.0.0 <2.5.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 23:27:23 UTC

Technical Analysis

This vulnerability (CWE-787) arises from a memory-handling error in the BSON-to-JSON conversion helpers of the MongoDB C Driver. Specifically, when a binary field is encoded and the output is truncated at a length limit set by the caller, a small number of bytes can be written past the end of the allocated heap buffer. This out-of-bounds write can be triggered by an attacker who supplies the document content, even without privileges on the application using the driver. The flaw affects MongoDB C Driver versions >=1.30.0 <1.30.9 and >=2.0.0 <2.5.2.

Potential Impact

An attacker who can supply document content to an application using the vulnerable MongoDB C Driver versions may cause a small amount of memory outside the intended buffer to be overwritten. This could potentially lead to data corruption or undefined behavior in the application. No privilege is required on the application, but the attacker must be able to supply BSON documents to the driver. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Until a patch is available, applications should consider restricting untrusted input that reaches the BSON-to-JSON conversion routines or apply other protective measures as advised by MongoDB once the advisory is published.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mongodb
Date Reserved
2026-09-02T17:58:52.742Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a998d5bacd9273b4916fcaa

Added to database: 09/03/2026, 15:08:11 UTC

Last enriched: 10/17/2026, 23:27:23 UTC

Last updated: 10/17/2026, 23:27:23 UTC

Views: 61

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses