A weakness in the BSON library's handling of a specialized binary vector data type allows an arithmetic wraparound when computing the number of elemen...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:20.04:LTSmongo-c-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSmongo-c-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSmongo-c-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10mongo-c-driver |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSmongo-c-driver |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report jira.mongodb.org