Silent element-count truncation via 32-bit bit-length overflow in packed-bit vector views

State
Published
Severity
6.3 Medium
Published
Nov 3, 2026
Updated
Nov 3, 2026
Reserved
Nov 3, 2026

Read the record on cve.org

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.

ProductVersions
C Driver MongoDB2.0.0 through 2.5.7 Affected

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.