Vulnerability · Published Sep 3, 2026 · Assigned by mongodb

CVE-2026-84965Heap write primitive via size round-up wrap during JSON parsing on 32-bit builds

Medium 5.1

In plain English

A medium-severity integer overflow in C Driver from MongoDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.1Medium
Exploit odds (30 days)0.1%top 97.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24mongo-c-driver1.30.14-r0ALPINE-CVE-2026-84965
Debian:12mongo-c-driverno fix listedDEBIAN-CVE-2026-84965
Debian:13mongo-c-driverno fix listedDEBIAN-CVE-2026-84965
Debian:14mongo-c-driver2.5.2-1DEBIAN-CVE-2026-84965
Ubuntu:26.04:LTSmongo-c-driverno fix listedUBUNTU-CVE-2026-84965
Ubuntu:26.10mongo-c-driverno fix listedUBUNTU-CVE-2026-84965

Affected products (as reported)

VendorProductVersions
MongoDB C Driver 1.10.0 – before 1.30.92.0.0 – before 2.5.2

Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References