VDB

CVE-2020-12135

CVE-2020-12135 PUBLISHED

Reported by mitre · Published April 24, 2020

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
whoopsieUbuntu:16.04:LTS0.2.52.5ubuntu0.5
c_drivermongodb0.8

Affected products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • Apr 24, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Jan 20, 2026 CVE Updated
  • Mar 6, 2026 Distribution Patch
  • Mar 6, 2026 Security Advisory (2 in total, the first dated here)
  • Sep 5, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-12135
vulnetix vdb fixes CVE-2020-12135

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-12135/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • USN-4450-1 vendor-advisoryx_refsource_UBUNTU
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›