Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-143881 EUVD-2026-143075GHSA-h88p-rgxr-7rrm

The MongoDB PHP Driver does not neutralize NUL characters in the user name and password values it places into the message it builds for SAS…

Published Dec 3, 2026 · Assigned by mongodb

Description

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 products

VendorProductAffectedFixed
MongoDB PHP Driver 2.0.0 <2.1.16 —
MongoDB PHP Driver 1.0.0 <1.21.16 —
MongoDB PHP Driver 2.2.0 <2.5.10 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 php-mongodb No fix yet —
Debian 13 php-mongodb No fix yet —
Debian 12 php-mongodb No fix yet —

Advisories 1

References