CVE-2026-120954 Silent element-count truncation via 32-bit bit-length overflow in packed-bit vector views
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 2 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/mongo-c-driver(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/mongo-c-driver(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/mongo-c-driver(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/mongo-c-driver(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/mongo-c-driver(Debian 14) | < 2.5.8-1; = 1.30.4-1; = 2.0.2-1; = 2.1.0-1 +19 more | 2.5.8-1 | Fixed |
| MongoDB C Driver | >= 2.0.0, <= 2.5.7 | after 2.5.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB C Driver | >= 2.0.0, <= 2.5.7 | No fix listed |
| debian/mongo-c-driver(Debian:14) | < 2.5.8-1 | 2.5.8-1 |
| debian/mongo-c-driver(Debian:14) | = 1.30.4-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.0.2-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.1.0-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.1.1-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.1.2-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.2.0-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.2.1-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.2.2-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.2.3-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.2.4-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.3.0-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.3.1-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.3.2-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.3.3-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.4.0-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.5.0-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.5.1-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.5.2-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.5.3-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.5.5-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.5.6-1 | No fix listed |
| debian/mongo-c-driver(Debian:14) | = 2.5.7-1 | No fix listed |
| ubuntu/mongo-c-driver(Ubuntu:22.04) | All versions | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/mongo-c-driver(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/mongo-c-driver(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/mongo-c-driver(Ubuntu:26.10) | All versions | No fix listed |
References
- jira.mongodb.org
- Debian Security Tracker CVE-2026-120954 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-116140 third-party-advisory