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.
Severity (CVSS)
| Base score | 5.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| 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 |
| Provided by | CNA |
Weaknesses
- CWE-190 — CWE-190: Integer Overflow or Wraparound
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | C Driver | 1.10.0 to <1.30.9; 2.0.0 to <2.5.2 |
References
Generated from the official CVE List on 04 Sep 2026 07:42 UTC.