Memory leak on duplicate fields in key vault documents in libmongocrypt
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Nov 23, 2026
Description
An improper handling of repeated fields in encryption key documents in the MongoDB encryption support library may allow memory to be retained without release. A party able to write to the key storage collection, or a database endpoint returning such a document, may cause the memory use of the calling application process to grow for each document parsed, which may reduce performance of that process.
| Product | Versions |
|---|---|
| Libmongocrypt Driver MongoDB | 1.0.0 to before 1.21.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | mongodb | |
| 3.1 | 4.3 Medium | mongodb |
Weaknesses
- CWE-401 Missing Release of Memory after Effective Lifetime
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.