Integer Wraparound Vulnerability in BSON Library Affecting MongoDB
CVE-2026-84965

5.9MEDIUM

Key Information:

Vendor

Mongodb

Status
Vendor
CVE Published:
3 September 2026

What is CVE-2026-84965?

The BSON library exhibits an integer wraparound vulnerability during allocation size calculations in its JSON parsing functionality. This flaw allows an attacker to exploit the library by supplying an excessively large JSON input to any linked application. In systems utilizing 32-bit size configurations, this can trigger an unexpected termination of the application due to a buffer being released while a subsequent write operation attempts to use a stale pointer. This scenario can lead to denial of service, creating a potential risk to application availability.

Affected Version(s)

C Driver 1.10.0 < 1.30.9

C Driver 2.0.0 < 2.5.2

References

CVSS V4

Score:
5.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.