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.
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
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| 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.