Intel

AIKIDO-2026-892880

mongodb.libmongocrypt is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-84971 Published 4 days ago

71

High Risk

This Affects:

C++mongodb.libmongocrypt
1.7.0 - 1.20.3
Fixed in 1.20.4
Are you affected? Scan for Free

TL;DR

libmongocrypt computes the plaintext length for an FLE2 indexed encrypted value directly from the ciphertext length in mc_FLE2IndexedEncryptedValue_decrypt and resizes the output buffer without checking the returned status. When a value carries a ciphertext smaller than the algorithm minimum, get_plaintext_len reports an error but the zero length is treated as valid, tripping an internal assertion that terminates the process. A value placed where the application decrypts it, or a manipulated server response, repeatedly crashes the client. The fix rejects undersized ciphertext and checks mongocrypt_status_ok before resizing the plaintext buffer.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application decrypts client-side field-level encrypted values whose ciphertext can be influenced by untrusted input.

Background info

mongodb.libmongocrypt is vulnerable to Denial of Service (DoS) in versions 1.7.0 - 1.20.3.

How to fix this

Upgrade the mongodb.libmongocrypt library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform