CVE-2026-106436
Published:October 08, 2026
Updated:October 09, 2026
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 Packages
https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=1.0.0alpha1 <1.21.11Fix Suggestion:
Update to version 1.21.11https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=2.0.0 <2.1.11Fix Suggestion:
Update to version 2.1.11https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=2.2.0 <2.5.4Fix Suggestion:
Update to version 2.5.4mongodb/mongodb-extension (PHP):
Affected version(s) >=1.0.0alpha1 <1.21.11Fix Suggestion:
Update to version 1.21.11mongodb/mongodb-extension (PHP):
Affected version(s) >=2.2.0 <2.5.4Fix Suggestion:
Update to version 2.5.4mongodb/mongodb-extension (PHP):
Affected version(s) >=2.0.0 <2.1.11Fix Suggestion:
Update to version 2.1.11Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.8
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Unchecked Return Value