CVE-2026-120954
LowCVSS 3.7Exploitation Probability (EPSS)
Low risk14th percentile - higher than 14% of all known CVEs
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.
Risk Assessment
Data inconsistency and incorrect processing results may occur in applications parsing untrusted BSON data on 32-bit platforms. Data integrity may be compromised, leading to application malfunction.
Recommendation
Update the BSON library to a patched version or avoid parsing untrusted BSON data on 32-bit platforms. Consider validating input size before parsing.
Other vulnerabilities in BSON library
Original NVD description (English 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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

