CVE-2026-120954

published 3 Nov 2026 · updated 3 Nov 2026

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

3.7LowCVSS 3.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBC Driver>=2.0.0 <=2.5.7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-120954 severity on Zeptric[![CVE-2026-120954](https://zeptric.io/badge/cve/CVE-2026-120954.svg)](https://zeptric.io/cve/CVE-2026-120954)