CVE-2026-6811 Details
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.
A stack exhaustion vulnerability has been identified in the MongoDB PHP driver, specifically in versions 1.21.5 and 2.1.8. This vulnerability can lead to application crashes when the driver processes deeply nested BSON documents, particularly when these documents originate from sources other than MongoDB Server. The absence of a nesting limit in the PHP driver allows for the possibility of such stack exhaustion, as libbson enforces a maximum nesting level of 100.
Users can update to MongoDB PHP Driver versions 1.21.5 or 2.1.8, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://jira.mongodb.org/browse/PHPC-2636 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-674 | Uncontrolled Recursion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mongodb php driver | >= 1.21.0, < 1.21.5 >= 2.1.0, < 2.1.8 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 24, 2026 | Initial Analysis | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 14, 2026 | New CVE Received | [email protected] |