Memory leak on duplicate fields in key vault documents in libmongocrypt
Summary
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 callin...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| MongoDBLibmongocrypt Driver |
≥ 1.0.0, < 1.21.2→ 1.21.2 |
1.21.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-135223 libmongocrypt No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-135223 libmongocrypt No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD
References
- web cna@mongodb.com