Description
An integer wraparound in an allocation size calculation in the BSON library's JSON parsing code can cause a buffer to be released while a following copy operation still writes through the stale pointer. On builds where sizes are 32 bits, an unauthenticated party able to supply a sufficiently large JSON input to an application that links the library may cause that application to terminate unexpectedly, resulting in denial of service.
Published: 2026-09-03
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An integer wraparound occurs in the BSON JSON parsing routine of the MongoDB C Driver when sizes are 32‑bit. The calculation used for memory allocation can wrap, causing a buffer that is supposed to hold parsed JSON to be freed before a subsequent copy writes to the same region. The stale pointer then receives the copy, leading to a crash and a denial of service. The vulnerability does not provide a remote code execution path and requires only unauthenticated delivery of a large JSON payload.

Affected Systems

The flaw appears in the MongoDB C Driver specifically on builds that compile for 32‑bit architectures. No particular version numbers are disclosed, so any older 32‑bit build of the driver that has not been updated to the latest release may be affected. Products that embed the driver in applications that accept external JSON input are at risk.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity. The EPSS score is not available, and the issue has not been listed in CISA's KEV catalog. Because the attack vector is remote input with no authentication required, an attacker can trigger the denial of service simply by sending a crafted JSON document over the network. Exploitation requires only the ability to reach the application, and no additional privileges or auxiliary exploits are required.

Generated by OpenCVE AI on September 3, 2026 at 16:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Use a 64‑bit build of the MongoDB C Driver or upgrade to a version that has rectified the integer wraparound bug.
  • Validate or constrain the size of JSON input before it is passed to the driver, rejecting payloads that exceed a safe threshold.
  • Deploy application‑level error handling and monitoring to quickly detect and recover from unexpected crashes, mitigating denial‑of‑service impact until a patch is applied.

Generated by OpenCVE AI on September 3, 2026 at 16:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 09:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 03 Sep 2026 17:00:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c Driver
Vendors & Products Mongodb
Mongodb c Driver

Thu, 03 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Description An integer wraparound in an allocation size calculation in the BSON library's JSON parsing code can cause a buffer to be released while a following copy operation still writes through the stale pointer. On builds where sizes are 32 bits, an unauthenticated party able to supply a sufficiently large JSON input to an application that links the library may cause that application to terminate unexpectedly, resulting in denial of service.
Title Heap write primitive via size round-up wrap during JSON parsing on 32-bit builds
Weaknesses CWE-190
References
Metrics cvssV3_1

{'score': 5.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 5.9, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Mongodb C Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-09-03T15:44:49.921Z

Reserved: 2026-09-02T17:58:52.742Z

Link: CVE-2026-84965

cve-icon Vulnrichment

Updated: 2026-09-03T15:44:46.860Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-03T16:18:25.417

Modified: 2026-09-03T16:25:43.557

Link: CVE-2026-84965

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T16:45:06Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound