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

- Severity: Medium 6.3 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-11-03T18:45:40.025Z
- Modified: 2026-11-03T20:18:12.557Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB C Driver: from 2.0.0 up to 2.5.7

## Every score

- mongodb: CVSS:4.0 6.3 Medium `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`
- mongodb: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://jira.mongodb.org/browse/CDRIVER-6420>

## Sources

- CVE List: [CVE-2026-120954](https://www.cve.org/CVERecord?id=CVE-2026-120954), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2026-120954](https://nvd.nist.gov/vuln/detail/CVE-2026-120954), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-120954 · Whole record: https://cve.day/CVE-2026-120954.json · Rebuilt by cve.day 2026-11-25T22:59:48.584Z
