What’s Vulnerable › Vulnerabilities
CVE-2025-13644: MongoDB may be susceptible to Invariant Failure due to batched delete
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-25 · updated 2026-10-18
- Weakness: CWE-617
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
- MongoDB: from 7.0.0 before 7.0.26; from 8.0.0 before 8.0.13; from 8.1.0 before 8.1.2; 8.2.0-alpha, 8.2.0-alpha0, 8.2.0-alpha1, 8.2.0-alpha2 — fixed in 7.0.26, 8.0.13, 8.1.2
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