Out-of-bounds Write Affecting mongodb/mongo-c-driver package, versions [1.30.0,1.30.9)[2.0.0,2.5.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-MONGODBMONGOCDRIVER-20074887
  • published24 Sept 2026
  • disclosed3 Sept 2026
  • creditUnknown

Introduced: 3 Sep 2026

CVE-2026-84969  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade mongodb/mongo-c-driver to version 1.30.9, 2.5.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the BSON-to-JSON conversion process when a binary field is encoded and the output is truncated at a specified length limit. An attacker can alter a small amount of data outside the intended buffer by supplying crafted document content.

References

CVSS Base Scores

version 4.0
version 3.1