What’s Vulnerable › Vulnerabilities

CVE-2026-106433: Heap corruption via duplicate masterKey fields in MongoDB libmongocrypt

Description

Improper state management in MongoDB libmongocrypt can cause provider-specific data to be treated as an incompatible type when cleaning up a key document containing duplicate masterKey fields. An authenticated actor who can modify key vault documents, or a server that returns such a key document, can cause invalid memory access and invalid frees in the client process. This can terminate the application or corrupt process memory.

Affected products

How to fix

Upgrade to a fixed version: MongoDB libmongocrypt 1.20.5; MongoDB libmongocrypt 1.20.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-106433 or the next vulnerability affects your stack