CVE-2020-12135

libwhoopsie0: bson before 0.8 incorrectly uses int rather than size_t for many variables,parameters, and return values

CVE-2020-12135 is fixed in 2 products on 1 platform, first by libwhoopsie0 0.2.62ubuntu0.5, released July 6, 2020. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0117
67th percentile

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 properlyconstructed bson input.

Where it's fixed

ProductFixed inFixReleased
Linux
libwhoopsie0 · Ubuntu 18.04.6 LTS (bionic) 0.2.62ubuntu0.5 libwhoopsie0 0.2.62ubuntu0.5 Jul 6, 2020
libwhoopsie0 · Ubuntu 20.04 LTS (focal) 0.2.69ubuntu0.1 libwhoopsie0 0.2.69ubuntu0.1 Jul 6, 2020
libwhoopsie0 · Ubuntu 24.10 (oracular) 0.2.71 libwhoopsie0 0.2.71 Jan 16, 2026
libwhoopsie0 · Ubuntu 25.04 (plucky) 0.2.71 libwhoopsie0 0.2.71 Jan 16, 2026
whoopsie · Ubuntu 18.04.6 LTS (bionic) 0.2.62ubuntu0.5 whoopsie 0.2.62ubuntu0.5 Jul 6, 2020
whoopsie · Ubuntu 20.04 LTS (focal) 0.2.69ubuntu0.1 whoopsie 0.2.69ubuntu0.1 Jul 6, 2020
whoopsie · Ubuntu 24.10 (oracular) 0.2.71 whoopsie 0.2.71 Jan 16, 2026
whoopsie · Ubuntu 25.04 (plucky) 0.2.71 whoopsie 0.2.71 Jan 16, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.