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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-03 · Modified: 2026-11-03
- Aliases: UBUNTU-CVE-2026-120954, DEBIAN-CVE-2026-120954
- Record: https://cvemate.com/vulnerability/CVE-2026-120954 · JSON: https://cvemate.com/vulnerability/CVE-2026-120954/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) 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
- EPSS: 0.233%, percentile 15.13%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian mongo-c-driver (Debian): \< 2.5.8-1
- ubuntu mongo-c-driver (Ubuntu): All versions (No fix recorded)
- mongodb c driver: ≥ 2.0.0, ≤ 2.5.7

## References

- <https://jira.mongodb.org/browse/CDRIVER-6420>
- <https://ubuntu.com/security/CVE-2026-120954>
- <https://www.cve.org/CVERecord?id=CVE-2026-120954>
- <https://security-tracker.debian.org/tracker/CVE-2026-120954>

---

Data as of 2026-12-05T05:10:07.161Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
