- Home
- Vulnerabilities
- CVE-2026-120954
CVE-2026-120954
Silent element-count truncation via 32-bit bit-length overflow in packed-bit vector views
Summary
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 products and versions
Mongodb (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| C# driver | from 2.0.0 (included) to 2.5.7 (included) |
— | CNA (vendor or assigner) |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N(CVSS 3.1, CNA:mongodb)- Weakness
- CWE-190 · Corruption mémoire