Read the docs

Memory leak on duplicate fields in libmongocrypt key documents

Priority LOW 24CWE-401Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-401.

Summary

MongoDB libmongocrypt drivers from 1.0.0 before 1.21.2 do not release memory when encryption key documents contain repeated fields. A party able to write to the key storage collection, or a database endpoint returning such a document, can make the calling application's memory use grow with each document parsed, which may reduce that process's performance. The weakness is CWE-401 (missing release of memory after effective lifetime). An attacker needs low privileges and no user interaction.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00378 23rd percentileScored 2026-11-30
Fix Fixed Libmongocrypt Driver (MongoDB): 1.21.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
MongoDBLibmongocrypt Driver1.0.0 to before 1.21.21.21.2Patch availableCNA
  • Libmongocrypt Driver VendorMongoDB Affected 1.0.0 to before 1.21.2 Fixed in 1.21.2 Patch available CNA

Remediation

Upgrade the MongoDB Libmongocrypt Driver to version 1.21.2.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

  • Fix · CNA Libmongocrypt Driver (MongoDB) Fixed in 1.21.2

Timeline

  1. 2026-11-25 Threatist record created from CVE-2026-135223
  2. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
  • TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
  • TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
  • TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
  • TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
  • TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
See all 449 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences