Memory-Safety Flaw in Key Management Library by MongoDB
CVE-2026-126792

5.6MEDIUM

Key Information:

Vendor

Mongodb

Vendor
CVE Published:
12 November 2026

What is CVE-2026-126792?

A memory-safety flaw exists in the key-management request-building component of the MongoDB Cryptographic Library, which may allow an out-of-bounds write on the heap. The issue arises from a fixed-size output buffer, which is used without validating the actual cryptographic key size. When the library is incorporated by an application that provides its own cryptographic callback implementation, there is potential for data exceeding the buffer limits to be written beyond its end. Exploiting this vulnerability necessitates a position with privileges to control the embedding application's in-process key-management provider configuration, leading to memory corruption and causing the client process to terminate unexpectedly.

Affected Version(s)

Libmongocrypt Driver 1.1.0 <= 1.21.2

References

CVSS V4

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

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.