CVE-2020-12135

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

published April 24, 2020

CVSS
—
EPSS
1%
Percentile
67.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01165 · 67.0th percentile
Published
2020-04-24T00:31Z
EPSS history
Timeline
  • 24 APR 00:31Z
    bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values
    cvelistv5