What’s Vulnerable › Vulnerabilities

CVE-2025-13644: MongoDB may be susceptible to Invariant Failure due to batched delete

Description

MongoDB Server may experience an invariant failure during batched delete operations when handling documents. The issue arises when the server mistakenly assumes the presence of multiple documents in a batch based solely on document size exceeding BSONObjMaxSize. This issue affects MongoDB Server v7.0 versions prior to 7.0.26, MongoDB Server v8.0 versions prior to 8.0.13, and MongoDB Server v8.1 versions prior to 8.1.2

Affected products

How to fix

Upgrade to a fixed version: MongoDB 7.0.26, 8.0.13, 8.1.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-13644 or the next vulnerability affects your stack