Improper Memory Management in MongoDB Encryption Support Library
CVE-2026-135223
5.3MEDIUM
What is CVE-2026-135223?
The MongoDB encryption support library exhibits a flaw in the handling of repeated fields within encryption key documents, leading to possible memory retention without proper release. This flawed handling may allow an attacker who can write to the key storage collection or manipulate a database endpoint to steadily increase the memory consumption of the calling application. This inefficiency can significantly impair the application's performance as it processes each affected document.
Affected Version(s)
Libmongocrypt Driver 1.0.0 < 1.21.2