CVE-2020-12135

bson: integer overflow in bson_ensure_space() parameter bytesNeeded

Published Apr 24, 2020 CVSS 3.1 · 5.5 Medium EPSS 1.2% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-4450 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.
Ubuntu USN Ubuntu USN USN-4450-1 Whoopsie vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00204}

epss

{'score': 0.00349}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 11:48 AM
Reserved
Apr 24, 2020, 12:00 AM
Status
Modified
Published
Apr 24, 2020, 1:15 AM
Modified
Jun 17, 2026, 2:51 AM
Severity
Moderate
Public date
Apr 13, 2020, 12:00 AM