Skip to content

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

MediumCVSS 6.0 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
MongoDB Server >= 7.0.0, < 7.0.41; >= 8.0.0, < 8.0.30; >= 8.3.0, < 8.3.9 7.0.41, 8.0.30, 8.3.9 Fixed
mongodb/mongodb >= 7.0.0, < 7.0.41; >= 8.0.0, < 8.0.30; >= 8.3.0, < 8.3.9 7.0.41, 8.0.30, 8.3.9 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Server >= 8.3.0, < 8.3.9 8.3.9
MongoDB Server >= 8.0.0, < 8.0.30 8.0.30
MongoDB Server >= 7.0.0, < 7.0.41 7.0.41
mongodb/mongodb >= 7.0.0, < 7.0.41 7.0.41
mongodb/mongodb >= 8.0.0, < 8.0.30 8.0.30
mongodb/mongodb >= 8.3.0, < 8.3.9 8.3.9

References