VDB

CVE-2026-84965

CVE-2026-84965 PUBLISHED CVSS 5.9 MEDIUM

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

Reported by mongodb · Published September 3, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
mongo-c-driverAlpine1.30.14-r0
c_drivermongodb2.5.2, 1.30.9
C DriverMongoDB2.5.2, 1.30.9

Risk scores

CVSS 4.0
5.9
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

Affected products

VendorProductVersions
MongoDBC Driver1.10.0, 2.0.0
MongoDBC Driver1.10.0, 2.0.0
alpinemongo-c-driver0

Timeline

  • Sep 3, 2026 Coalition ESS Score
  • Sep 3, 2026 CVE Published
  • Sep 3, 2026 CVE Updated
  • Sep 4, 2026 EPSS Score (5 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-84965
vulnetix vdb fixes CVE-2026-84965

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-84965/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›