Vulnerability database / CVE-2020-12135
CVE-2020-12135
MEDIUM 5.5 CVSS 3.1 bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
Published 24 Apr 2020
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-190 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 4.3
AV:N/AC:M/Au:N/C:N/I:N/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
whoopsie_project
whoopsiecpe:2.3:a:whoopsie_project:whoopsie:*:*:*:*:*:*:*:*
<= 0.2.69
NVD
mongodb
c_drivercpe:2.3:a:mongodb:c_driver:*:*:*:*:*:*:*:*
< 0.8
0.8
References
History
25 Nov 2026 20:31 UTC · NVD: first stored (published 24 Apr 2020)