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.
Published: 2026-11-03
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: Data Integrity
Action: Assess Impact
AI Analysis

Impact

The vulnerability stems from an arithmetic wraparound during the calculation of element counts when parsing a specialized binary vector type in BSON. On 32‑bit builds, an attacker can supply an oversized length that overflows a 32‑bit counter, causing the library to report success while only processing a small subset of the data. The flaw does not trigger memory corruption or disclose sensitive information; its impact is limited to data integrity, meaning future application logic may see incorrect data size values.

Affected Systems

MongoDB’s C Driver library is the affected product, specifically the BSON component handling the packed‑bit vector views. The issue appears on 32‑bit platforms where the word size is 32 bits; there are currently no specified version ranges, so vulnerable installations may include any 32‑bit build of the driver that has not yet been patched.

Risk and Exploitability

Based on the description, it is inferred that the likely attack vector is delivering crafted BSON data to an application that unconditionally parses external input. With a CVSS score of 6.3 the flaw is considered moderate severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, indicating no current evidence of widespread exploitation. Attackers only need to supply crafted BSON data that the application will unconditionally parse, which could be achieved remotely if the target service accepts external BSON input. While the flaw does not allow memory corruption or data disclosure, it can produce incorrect data sizes that may lead to logic errors or inconsistent behavior.

Generated by OpenCVE AI on November 3, 2026 at 21:06 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Validate the length of packed‑bit vector elements before processing to guard against integer overflow (CWE‑190).
  • Upgrade to the latest MongoDB C Driver version once the vendor releases a fixed build, or apply a custom patch that checks 32‑bit overflow conditions.
  • Restrict the transmission of untrusted BSON payloads to the application by implementing network segmentation or firewall rules that limit exposure to known trusted sources.

Generated by OpenCVE AI on November 3, 2026 at 21:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 03 Nov 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb c Driver
Vendors & Products Mongodb
Mongodb c Driver

Tue, 03 Nov 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 03 Nov 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title Silent element-count truncation via 32-bit bit-length overflow in packed-bit vector views
Weaknesses CWE-190
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Mongodb C Driver
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-11-03T19:42:13.241Z

Reserved: 2026-11-03T03:14:08.527Z

Link: CVE-2026-120954

cve-icon Vulnrichment

Updated: 2026-11-03T19:42:09.016Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-03T19:18:00.470

Modified: 2026-11-03T20:18:12.557

Link: CVE-2026-120954

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-03T21:15:03Z

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound