Arithmetic Wraparound Flaw in BSON Library Affecting MongoDB Applications
CVE-2026-120954

6.3MEDIUM

Key Information:

Vendor

Mongodb

Status
Vendor
CVE Published:
3 November 2026

What is CVE-2026-120954?

A vulnerability exists in the BSON library used by MongoDB that can lead to an arithmetic wraparound when processing oversized values from untrusted BSON data. On 32-bit platforms, this flaw allows applications to interpret only a fraction of provided elements, misleadingly reporting a success status while causing data inconsistency. This issue does not require user authentication or interaction, making it a significant concern for applications that parse BSON data. Although memory safety is maintained, the integrity of the data processed can be compromised, potentially leading to erroneous outcomes.

Affected Version(s)

C Driver 2.0.0 <= 2.5.7

References

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.