CVE-2026-135223 Memory leak on duplicate fields in key vault documents in libmongocrypt

Published Updated

Writing duplicate fields to key storage can leak memory in libmongocrypt, degrading applications that parse such documents.

CVSS score

Medium

5.3/10

CVSS 4.0 · Scored by Mongodb Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-135223?

CVE-2026-135223 is a medium-severity denial of service vulnerability in MongoDB Libmongocrypt Driver, published on 25 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-401

How severe is CVE-2026-135223?

CVE-2026-135223 scores 5.3 out of 10 under CVSS 4.0, which is medium severity. It was scored by Mongodb.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low

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

Which versions are affected by CVE-2026-135223?

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

How do I fix CVE-2026-135223?

No fix has been published for CVE-2026-135223 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-135223 being exploited?

There is no known exploitation of CVE-2026-135223 in the wild and no public exploit code.

Sources

Also known as UBUNTU-CVE-2026-135223.

Is CVE-2026-135223 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free