CVE-2020-12135

Publication date 24 April 2020

Last updated 11 July 2025


Ubuntu priority

Cvss 3 Severity Score

5.5 · Medium

Score breakdown

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.

Status

Package Ubuntu Release Status
duo-unix 26.04 LTS resolute
Needs evaluation
25.10 questing
Needs evaluation
25.04 plucky Ignored end of life, was needs-triage
24.10 oracular Ignored end of life, was needs-triage
24.04 LTS noble
Needs evaluation
23.10 mantic Ignored end of life, was needs-triage
23.04 lunar Ignored end of life, was needs-triage
22.10 kinetic Ignored end of life, was needs-triage
22.04 LTS jammy
Needs evaluation
21.10 impish Ignored end of life
21.04 hirsute Ignored end of life
20.10 groovy Ignored end of life
20.04 LTS focal Ignored end of standard support, was needs-triage
19.10 eoan Ignored end of life
18.04 LTS bionic Ignored end of standard support, was needs-triage
16.04 LTS xenial Ignored end of standard support, was needs-triage
14.04 LTS trusty Not in release
whoopsie 26.04 LTS resolute
Fixed 0.2.71
25.10 questing
Fixed 0.2.71
25.04 plucky
Fixed 0.2.71
24.10 oracular
Fixed 0.2.71
24.04 LTS noble
Fixed 0.2.71
23.10 mantic
Fixed 0.2.71
23.04 lunar
Fixed 0.2.71
22.10 kinetic
Fixed 0.2.71
22.04 LTS jammy
Fixed 0.2.71
21.10 impish
Fixed 0.2.71
21.04 hirsute
Fixed 0.2.71
20.10 groovy
Fixed 0.2.71
20.04 LTS focal
Fixed 0.2.69ubuntu0.1
19.10 eoan Ignored end of life
18.04 LTS bionic
Fixed 0.2.62ubuntu0.5
16.04 LTS xenial
Fixed 0.2.52.5ubuntu0.5
14.04 LTS trusty Not in release

Severity score breakdown

Parameter Value
Base score 5.5 · Medium
Attack vector Local
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Access our resources on patching vulnerabilities