What’s Vulnerable › Vulnerabilities
CVE-2026-82056: Race Condition in MongoDB Server Text Index Query Parsing Leads to Heap Use-After-Free and Denial of Service
- Severity: medium (CVSS 5.3 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: 2026-09-08 · updated 2026-09-16
- Weakness: CWE-416
Description
A race condition in MongoDB server's text index query parsing can cause a heap use-after-free read when handling upsert retry paths. Under certain concurrent index lifecycle operations, a raw pointer to internal text index metadata may be dereferenced after the underlying structures have been freed, leading to a server crash. An authenticated user with readWrite privileges can trigger this condition through specific concurrent text-search and index management operations, resulting in denial of service for all connected clients. This
Affected products
- MongoDB: from 7.0.0 before 7.0.41; from 8.0.0 before 8.0.30; from 8.3.0 before 8.3.9 — fixed in 7.0.41, 8.0.30, 8.3.9
How to fix
Upgrade to a fixed version: MongoDB 7.0.41, 8.0.30, 8.3.9. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-82056 or the next vulnerability affects your stack