UBUNTU-CVE-2026-120954

Source
https://ubuntu.com/security/CVE-2026-120954
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120954.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-120954
Upstream
  • CVE-2026-120954
Published
2026-11-03T19:18:00Z
Modified
2026-11-05T11:47:27Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

A weakness in the BSON library's handling of a specialized binary vector data type allows an arithmetic wraparound when computing the number of elements described by an oversized attacker-supplied value. On builds where the platform word size is 32 bits, an application that parses untrusted BSON data can be made to process only a small fraction of the supplied elements while the operation reports success, producing results that disagree with byte-oriented accessors and with 64-bit builds of the same library. No authentication or user interaction is required beyond getting the application to parse the data. The impact is limited to data integrity; memory safety is not affected and no information is disclosed.

References

Affected packages

Ubuntu:Pro:20.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.15.0-1
1.15.1-1
1.15.2-1
1.16.0-1
1.16.1-1
1.16.1-1build1
1.16.1-1build2
1.16.1-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbson-1.0-0",
            "binary_version": "1.16.1-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "libmongoc-1.0-0",
            "binary_version": "1.16.1-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120954.json"

Ubuntu:Pro:22.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.18.0-1
1.19.1-1
1.19.2-1
1.20.0-1
1.20.0-1build1
1.20.1-1
1.21.0-1
1.21.0-1build1
1.21.0-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbson-1.0-0",
            "binary_version": "1.21.0-1ubuntu0.1~esm1"
        },
        {
            "binary_name": "libmongoc-1.0-0",
            "binary_version": "1.21.0-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120954.json"

Ubuntu:Pro:24.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.24.3-1
1.24.4-1
1.25.1-1
1.25.2-1
1.25.4-1
1.26.0-1
1.26.0-1.1ubuntu1
1.26.0-1.1ubuntu2
1.26.0-1.1ubuntu2+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbson-1.0-0t64",
            "binary_version": "1.26.0-1.1ubuntu2+esm1"
        },
        {
            "binary_name": "libmongoc-1.0-0t64",
            "binary_version": "1.26.0-1.1ubuntu2+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120954.json"

Ubuntu:26.10 / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.2-1
2.3.1-1
2.3.2-1
2.3.3-1build1
2.5.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbson2-2",
            "binary_version": "2.5.0-1"
        },
        {
            "binary_name": "libmongoc2-2",
            "binary_version": "2.5.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120954.json"

Ubuntu:26.04:LTS / mongo-c-driver

Package

Name
mongo-c-driver
Purl
pkg:deb/ubuntu/mongo-c-driver?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.30.4-1ubuntu1
2.*
2.2.0-1
2.2.1-1
2.2.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libbson2-2",
            "binary_version": "2.2.2-1"
        },
        {
            "binary_name": "libmongoc2-2",
            "binary_version": "2.2.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-120954.json"