CVE-2020-12135

Summary

CVECVE-2020-12135
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-04-24 01:15:00 UTC
Updated2020-08-12 17:15:00 UTC
Descriptionbson 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.

Risk And Classification

Problem Types: CWE-190

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Mongodb C Driver All All All All
Application Mongodb C Driver All All All All
Application Whoopsie Project Whoopsie All All All All

References

ReferenceSourceLinkTags
USN-4450-1: Whoopsie vulnerabilities | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com
launchpadlibrarian.net/474887364/bson-fix-overflow.patch MISC launchpadlibrarian.net Patch, Third Party Advisory
don't mix up int and size_t (first pass to fix that) · 10gen-archive/mongo-c-driver-legacy@1a1f5e2 · GitHub MISC github.com Patch, Third Party Advisory
Bug #1872560 “integer overflow in whoopsie 0.2.69” : Bugs : whoopsie package : Ubuntu MISC bugs.launchpad.net Exploit, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report