CVE-2026-84965: CWE-190: Integer Overflow or Wraparound in MongoDB C Driver
Description
CVE-2026-84965 is an integer wraparound vulnerability in the BSON library's JSON parsing code used by the MongoDB C Driver. This flaw occurs during allocation size calculation, potentially causing a buffer to be freed while a subsequent copy operation writes to the stale pointer. On 32-bit size builds, an unauthenticated attacker supplying a large JSON input may cause the affected application to crash, resulting in denial of service.
CVSS v4.0
Score 5.9medium
Affected software
MongoDB
C Driver
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves an integer wraparound in the BSON library's JSON parsing code within the MongoDB C Driver. Specifically, the allocation size calculation can overflow, leading to a buffer being released prematurely while a following copy operation still writes through the stale pointer. This can cause an application crash (denial of service) when processing large JSON inputs on builds where sizes are 32 bits. The vulnerability affects versions >=1.10.0 <1.30.9 and >=2.0.0 <2.5.2.
Potential Impact
An unauthenticated attacker able to provide a sufficiently large JSON input to an application linking the vulnerable MongoDB C Driver library can cause the application to terminate unexpectedly. This results in a denial of service condition. There is no indication of code execution or data corruption beyond the crash. The CVSS 4.0 base score is 5.9 (medium severity), reflecting local attack vector with high attack complexity and partial impact on availability.
Mitigation Recommendations
No patch or official fix information is provided in the available data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, applications should consider limiting JSON input size or applying other input validation controls to mitigate potential denial of service.
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: 6a9990d3acd9273b491c2216
Added to database: 09/03/2026, 15:22:59 UTC
Last enriched: 09/24/2026, 06:42:17 UTC
Last updated: 10/17/2026, 18:48:23 UTC
Views: 57
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.