CVE-2026-84965
5.9medium
Heap write primitive via size round-up wrap during JSON parsing on 32-bit builds
- Severity
- 5.9medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.09% (higher than 0% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
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
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB C Driver | from 1.10.0 before 1.30.9, from 2.0.0 before 2.5.2 | CVE List |
| mongodb c_driver | from 1.10.0 before 1.30.9, from 2.0.0 before 2.5.2 | NVD |
All scores
| mongodb | 5.9medium CVSS:4.0 | 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 |
| mongodb | 5.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://jira.mongodb.org/browse/CDRIVER-6405 | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-84965 changed 2026-09-03 | CVE Terms of Use |
| NVD | CVE-2026-84965 changed 2026-09-22 | Public domain |