CVE-2026-143881

NameCVE-2026-143881
DescriptionThe 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php-mongodb (PTS)bookworm1.15.0+1.11.1+1.9.2+1.7.5-1vulnerable
trixie (security), trixie2.0.0-1+deb13u2vulnerable
forky, sid2.5.5-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php-mongodbsource(unstable)(unfixed)

Notes

[trixie] - php-mongodb <no-dsa> (Minor issue)
https://jira.mongodb.org/browse/PHPC-2818
https://jira.mongodb.org/browse/CDRIVER-6449

Search for package or bug name: Reporting problems