Out-of-bounds Write Affecting mongo-c-driver package, versions [1.30.3,1.30.11)[2.2.0,2.5.4)


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-CONAN-MONGOCDRIVER-20074888
  • published24 Sept 2026
  • disclosed3 Sept 2026
  • creditUnknown

Introduced: 3 Sep 2026

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

How to fix?

Upgrade mongo-c-driver to version 1.30.11, 2.5.4 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