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.
CVE-2026-106436
CVSS base score
4.8 (v3.1)
Severity
MEDIUM
Attack vector
Network
Weakness
CWE-252
Last modified
October 13, 2026
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Affected products
mongodb php driver
References
- jira.mongodb.org Vendor Advisory, Issue Tracking