Vulnerability record · CVE-2020-12135 · published 24 April 2020
CVE-2020-12135: Whoopsie project whoopsie integer overflow vulnerability
WWhoopsie Project · Whoopsie
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.
Description
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560 | ExploitThird Party Advisory |
| https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148 | PatchThird Party Advisory |
| https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch | PatchThird Party Advisory |
| https://usn.ubuntu.com/4450-1/ | |
| https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560 | ExploitThird Party Advisory |
| https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148 | PatchThird Party Advisory |
| https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch | PatchThird Party Advisory |
| https://usn.ubuntu.com/4450-1/ |
Track CVE-2020-12135 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2020-12135), CISA KEV, FIRST EPSS (scores of 2026-11-16). This page is refreshed as NVD updates the record.