CVE-2026-84965
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mongo-c-driver | Alpine | 1.30.14-r0 |
| c_driver | mongodb | 2.5.2, 1.30.9 |
| C Driver | MongoDB | 2.5.2, 1.30.9 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | C Driver | 1.10.0, 2.0.0 |
| MongoDB | C Driver | 1.10.0, 2.0.0 |
| alpine | mongo-c-driver | 0 |
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