CVE-2026-82056 PUBLISHED

Race Condition in MongoDB Server Text Index Query Parsing Leads to Heap Use-After-Free and Denial of Service

Assigner: mongodb
Reserved: 27.08.2026 Published: 08.09.2026 Updated: 08.09.2026

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

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6

Product Status

Vendor MongoDB
Product MongoDB Server
Versions Default: unaffected
  • affected from 8.3.0 to 8.3.9 (excl.)
  • affected from 8.0.0 to 8.0.30 (excl.)
  • affected from 7.0.0 to 7.0.41 (excl.)

References

Problem Types

  • CWE-416: Use After Free CWE