Security mailing lists by PureSourceCode

CVE-2020-12135

MEDIUM 5.5CVSS 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
NVDJSON

Scores

SourceScored byVersionScoreVector / 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:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD whoopsie_project whoopsie
cpe:2.3:a:whoopsie_project:whoopsie:*:*:*:*:*:*:*:*
<= 0.2.69
NVD mongodb c_driver
cpe: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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.