AI and data stack advisories

1 critical this month · 294 projects

MongoDBCVE-2026-135223

MongoDB Libmongocrypt Driver: memory leak

MongoDB

CVE-2026-135223 · Published Nov 25, 2026

Medium5.3
Fix: upgrade to 1.21.2 or later
MongoDB advisory

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.

Affected versions

PackageAffectedFixed in
Libmongocrypt Driver
Product
>= 1.0.0, < 1.21.21.21.2
Details and references
CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-401

More MongoDB advisories

All MongoDB
CVE-2026-135227Nov 25MongoDB Ruby Driver: mass assignmentAn improper restriction of dynamically determined object attributes in the object-document mapping library's association handling allows structured input supplied in place of a simple identifier...High8.3Fixed in 9.1.3CVE-2026-135898Nov 25MongoDB Python Driver: out-of-bounds readAn out-of-bounds read in the native C BSON decoding extension of the MongoDB Python Driver may allow an unauthenticated party who can supply crafted BSON data to the decoder to cause the application...High8.8Fixed in 4.20.2CVE-2026-135138Nov 25MongoDB Ruby Driver: mass assignmentMongoid does not consistently apply its read-only attribute protection when attribute names are supplied dynamically by the caller.Medium6.0Fixed in 9.1.3CVE-2026-135139Nov 25MongoDB Ruby Driver: improper authorizationMongoid contains an incorrect authorization weakness in the handling of caller-supplied filters for bulk removal through a referenced association.Medium6.0Fixed in 9.1.3CVE-2026-135140Nov 25MongoDB Ruby Driver: cleartext storageMongoid may omit a field from the client-side encryption settings it generates for a collection when that same field is also used as a reference to another record.Medium5.3Fixed in 9.1.3CVE-2026-135141Nov 25MongoDB Ruby Driver: improper authorizationA logic flaw in the query-building layer of the Mongoid object-document mapper causes a model-level default restriction that is meant to return no records to be silently discarded when it is combined...High8.6Fixed in 9.1.3