CVE-2026-6811: MongoDB PHP Driver
High severity, CVSS 7.5. EPSS: 0.5% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- MongoDB PHP Driver, from 1.21.0, before 1.21.5: fixed in 1.21.5
- MongoDB PHP Driver, from 2.1.0, before 2.1.8: fixed in 2.1.8
Affected products
- MongoDB PHP Driver: from 1.21.0, before 1.21.5 (fixed in 1.21.5); from 2.1.0, before 2.1.8 (fixed in 2.1.8)
Published 2026-05-14. Last modified 2026-10-26.