CVE-2026-6811: CWE-674 Uncontrolled Recursion in MongoDB Inc. PHP Driver
Stack exhaustion vulnerability in the MongoDB PHP driver can cause application crashes when processing deeply nested BSON documents in unusual circumstances when the source of these BSON documents is not MongoDB Server.
AI Analysis
Technical Summary
This vulnerability in the MongoDB PHP driver involves uncontrolled recursion leading to stack exhaustion when handling deeply nested BSON documents from non-MongoDB Server sources. The affected versions are 1.21.5 and 2.1.8. The issue can cause application crashes under unusual circumstances. The CVSS 4.0 vector indicates a network attack vector with high attack complexity and no privileges required, resulting in high impact on availability. No official remediation or patch is currently documented.
Potential Impact
The vulnerability can cause application crashes due to stack exhaustion when processing deeply nested BSON documents not originating from MongoDB Server. This impacts application availability but does not indicate confidentiality or integrity loss. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid processing deeply nested BSON documents from untrusted or non-MongoDB Server sources to reduce the risk of triggering the vulnerability.
CVE-2026-6811: CWE-674 Uncontrolled Recursion in MongoDB Inc. PHP Driver
Description
Stack exhaustion vulnerability in the MongoDB PHP driver can cause application crashes when processing deeply nested BSON documents in unusual circumstances when the source of these BSON documents is not MongoDB Server.
CVSS v4.0
Score 6.0medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in the MongoDB PHP driver involves uncontrolled recursion leading to stack exhaustion when handling deeply nested BSON documents from non-MongoDB Server sources. The affected versions are 1.21.5 and 2.1.8. The issue can cause application crashes under unusual circumstances. The CVSS 4.0 vector indicates a network attack vector with high attack complexity and no privileges required, resulting in high impact on availability. No official remediation or patch is currently documented.
Potential Impact
The vulnerability can cause application crashes due to stack exhaustion when processing deeply nested BSON documents not originating from MongoDB Server. This impacts application availability but does not indicate confidentiality or integrity loss. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid processing deeply nested BSON documents from untrusted or non-MongoDB Server sources to reduce the risk of triggering the vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-04-21T17:34:55.192Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0643eeec166c07b0159688
Added to database: 5/14/2026, 9:51:42 PM
Last enriched: 5/14/2026, 10:06:38 PM
Last updated: 6/18/2026, 5:07:49 AM
Views: 81
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.