CVE-2026-120954: BSON - Integer Overflow
- Cve: CVE-2026-120954
- Name: BSON - Integer Overflow
- 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.
- Impact: Attackers can cause data integrity issues by manipulating element counts, potentially leading to inconsistent processing results.
- Remediation: Update to the latest version of the BSON library.
- Vulnerability type: integer_overflow
- Vulnerability impact: data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.7
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.00233
- Epss percentile: 0.14057
- Assignee: [email protected]
- Published at: 2026-11-03T19:18:00Z
- Age in days: 21
- Modified at: 2026-11-03T20:18:12Z
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-120954
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-190 | Integer Overflow or Wraparound |
References
| Url | Source | Tags |
|---|---|---|
| https://jira.mongodb.org/browse/CDRIVER-6420 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mongodb:c_driver | >= 2.0.0, <= 2.5.7 | no | cna_alias | /v1/products/mongodb/c_driver |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts