Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-143881
Published:December 03, 2026
Updated:December 03, 2026
The MongoDB PHP Driver does not neutralize NUL characters in the user name and password values it places into the message it builds for SASL PLAIN authentication. A party who can choose the login values that an application passes to the driver can alter where the fields of that message begin and end. This may result in a receiving system reading a login name and secret that differ from the values the application supplied. Authenticating as a different account still requires that account's password. Only deployments that use SASL PLAIN authentication are affected.
Affected Packages
https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=2.2.0 <2.5.10
Fix Suggestion:
Update to version 2.5.10
https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=2.0.0 <2.1.16
Fix Suggestion:
Update to version 2.1.16
https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=1.0.0alpha1 <1.21.16
Fix Suggestion:
Update to version 1.21.16
mongodb/mongodb-extension (PHP):
Affected version(s) >=1.0.0alpha1 <1.21.16
Fix Suggestion:
Update to version 1.21.16
mongodb/mongodb-extension (PHP):
Affected version(s) >=2.2.0 <2.5.10
Fix Suggestion:
Update to version 2.5.10
mongodb/mongodb-extension (PHP):
Affected version(s) >=2.0.0 <2.1.16
Fix Suggestion:
Update to version 2.1.16
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Null Byte or NUL Character