The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit.
- CVSS
- 6.5Medium
- Chance of exploitation (EPSS)
- 0.26%
- Published
- Oct 8, 2026
- In the news
- Not yet
What to do
A moderate security flaw in Mongodb PHP Driver that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 1.21.11, 2.1.11, 2.5.4
Affected versions
- Mongodb PHP Driver
- 1.3.0 to before 1.21.11; 2.0.0 to before 2.1.11; 2.2.0 to before 2.5.4
Description
The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an invalid state. An unauthenticated actor who can cause an affected application to encode an unusually large data structure can terminate the PHP worker or cause the resulting document to omit fields. No MongoDB server connection or database authentication is required.
Affected products
Get alerts for these →Timeline 3
Latest change: Nessus plugin 374652: Fedora 45 : php-pecl-mongodb2 (2026-ce7737d311) (Oct 30, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Sat, Oct 31, 2026
Wed, Oct 28, 2026
Thu, Oct 8, 2026
- CVECVE-2026-106436 published (CVSS 6.5)CVE Program · 20:17 UTC
References 1
- jira.mongodb.org Vendor Advisory /browse/PHPC-2739