MongoDB Inc MongoDB Server
Mongod can run out of stack memory when expressions create deeply nested documents
MongoDB Server may experience an out-of-memory failure while evaluating expressions that produce deeply nested documents. The issue arises in recursive functions because the server does not periodically check the depth of the expression.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by NVD · CWE-674
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
MongoDB Inc MongoDB Server
- >= 8.0, < 8.0.18
- >= 7.0, < 7.0.29
- >= 8.2, < 8.2.2
Fixed in 8.0.18, 7.0.29, 8.2.2
Mitigation
Upgrade MongoDB Server to 8.0.18 or 7.0.29 or 8.2.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.