Vulnerability · Published Nov 3, 2026 · Assigned by mongodb

CVE-2026-120954Silent element-count truncation via 32-bit bit-length overflow in packed-bit vector views

Low 3.7

In plain English

A low-severity integer overflow in C Driver from MongoDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities).

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.2%top 85.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:26.04:LTSmongo-c-driverno fix listedUBUNTU-CVE-2026-120954
Ubuntu:26.10mongo-c-driverno fix listedUBUNTU-CVE-2026-120954

Affected products (as reported)

VendorProductVersions
MongoDB C Driver 2.0.0 – through 2.5.7

Weakness: CWE-190 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

References