CVE-2026-120954
Silent element-count truncation via 32-bit bit-length overflow in packed-bit vector views
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.
| CWE | CWE-190 |
| Vendor | mongodb |
| Product | c driver |
| Ecosystems | |
| Industries | Technology |
| Published | Nov 3, 2026 |
| Last Updated | Nov 3, 2026 |
Get instant alerts for mongodb c driver
Be the first to know when new low vulnerabilities affecting mongodb c driver are published โ delivered to Slack, Telegram or Discord.
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N