CVE-2026-114651: MongoDB C# Driver memory leak in BSON deserialization

CVE-2026-114651 · Severity: medium · CVSS 4 · Published 2026-10-22

The MongoDB C# Driver, used by applications to communicate with MongoDB databases, has a memory-handling flaw in its BSON deserialization component. An attacker who sends specially crafted serialized data to an application can cause the driver to leak residual data from previously processed requests—potentially including credentials, API keys, or personal information—directly back to the attacker. No authentication is required to exploit this vulnerability.

Technologies: MongoDB C Driver. Vendors: MongoDB.

Quick answers

Is CVE-2026-114651 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-114651 being exploited in the wild.
How severe is CVE-2026-114651?
Medium severity, with a CVSS score of 4, published 22 October 2026.
Which products and versions are affected?
MongoDB C Driver before 3.13.0.
Is there a fix for CVE-2026-114651?
Yes: fixed in 3.13.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-114651 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-114651?
Check whether you run MongoDB C Driver at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 3.13.0

Technical details

A bounds-check vulnerability in PrimitivesArrayReader.cs allows unbounded reads from a thread-static buffer when parsing malformed BSON array structures. When the parser encounters an unterminated element name or truncated value, it walks past the declared array length into uncleared buffer slack containing stale data from prior operations on the same thread. An attacker fully controls the malformed array shape and can probe repeatedly to extract up to ~16 KB of residual content, limited only by whether a stale zero byte satisfies the end-of-document check or the probe triggers an out-of-bounds exception.

Affected products

  • MongoDB C# Driver before 3.13.0

Timeline

  • 2026-10-22: disclosed: CVE-2026-114651 published
  • 2026-10-22: patched: Version 3.13.0 released with fix

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.