{"id":"CVE-2026-143881","aliases":["DEBIAN-CVE-2026-143881","EUVD-2026-143075","GHSA-h88p-rgxr-7rrm"],"status":"published","title":"Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials","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.","severity":{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"cna","from":"cve"},{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.0043,"percentile":0.39169,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-158"],"published":"2026-12-03T11:07:28Z","modified":"2026-12-04T07:00:08Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"php-mongodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.15.0+1.11.1+1.9.2+1.7.5-1","1.19.3-1","1.19.4-2","1.19.4-3~exp2","1.19.4-3~exp3","1.19.4-3~exp4","1.20.0-1","1.20.1-1","1.21.0-1","2.0.0-1","2.1.0-1","2.5.3-1","2.5.5-1","2.5.8+dfsg-1"]},{"source":"osv","ecosystem":"Debian:13","package":"php-mongodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0-1","2.0.0-1+deb13u1","2.0.0-1+deb13u2","2.1.0-1","2.5.3-1","2.5.5-1","2.5.8+dfsg-1"]},{"source":"osv","ecosystem":"Debian:14","package":"php-mongodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.0-1","2.1.0-1","2.5.3-1","2.5.5-1","2.5.8+dfsg-1"]}],"products":[{"vendor":"mongodb","product":"php driver"},{"vendor":"mongodb inc.","product":"php driver"}],"references":[{"url":"https://jira.mongodb.org/browse/PHPC-2818"},{"url":"https://jira.mongodb.org/browse/DRIVERS-3599"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143881"},{"url":"https://github.com/advisories/GHSA-h88p-rgxr-7rrm"},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-143881","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-143881","title":"Authentication identity confusion via NUL-byte injection in SASL PLAIN credentials","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.","status":"published","published":"2026-12-03T11:07:28.828Z","modified":"2026-12-03T11:07:28.828Z","cvss":[{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","level":"medium","assessor":"cna"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"cna"}],"cwes":["CWE-158"],"updated_at":"2026-12-03T11:12:35.20699Z"}],"euvd":[{"id":"EUVD-2026-143075","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.","status":"published","published":"2026-12-03T11:07:28Z","modified":"2026-12-03T11:07:28Z","cvss":[{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","level":"medium"}],"updated_at":"2026-12-03T15:32:30.309989Z"}],"ghsa":[{"id":"GHSA-h88p-rgxr-7rrm","title":"The MongoDB PHP Driver does not neutralize NUL characters in the user name and password values it...","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.","status":"published","published":"2026-12-03T12:31:15Z","modified":"2026-12-03T12:31:17Z","cvss":[{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-158"],"updated_at":"2026-12-03T12:44:38.508046Z"}],"nvd":[{"id":"CVE-2026-143881","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.","status":"published","published":"2026-12-03T11:17:33.31Z","modified":"2026-12-03T21:43:56.947Z","cvss":[{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","level":"low","assessor":"secondary"}],"cwes":["CWE-158"],"updated_at":"2026-12-03T11:25:03.679743Z"}],"osv":[{"id":"DEBIAN-CVE-2026-143881","upstream":["CVE-2026-143881"],"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.","status":"published","published":"2026-12-03T11:17:33.31Z","modified":"2026-12-04T07:00:08.197522957Z","cvss":[{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"}],"updated_at":"2026-12-04T07:32:02.828012Z"}]}}
