Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-106432
Published:October 08, 2026
Updated:October 09, 2026
The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation. When an affected application encodes a string near 4 GiB, the allocation size can wrap while the copy operation uses the original length. The resulting heap buffer overflow can corrupt process memory or terminate the PHP process. Reaching this issue requires a non-default runtime configuration that permits multi-gigabyte values. No MongoDB server interaction is required.
Affected Packages
https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=1.16.0 <1.21.11
Fix Suggestion:
Update to version 1.21.11
https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=2.0.0 <2.1.11
Fix Suggestion:
Update to version 2.1.11
https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=2.2.0 <2.5.4
Fix Suggestion:
Update to version 2.5.4
mongodb/mongodb-extension (PHP):
Affected version(s) >=2.2.0 <2.5.4
Fix Suggestion:
Update to version 2.5.4
mongodb/mongodb-extension (PHP):
Affected version(s) >=1.20.0 <1.21.11
Fix Suggestion:
Update to version 1.21.11
mongodb/mongodb-extension (PHP):
Affected version(s) >=2.0.0 <2.1.11
Fix Suggestion:
Update to version 2.1.11
Do you need more information?
Contact Us
CVSS v4
Base Score:
2
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
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:
3.6
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Incorrect Conversion between Numeric Types