CVE-2026-106436MongoDB PHP Driver Unchecked Return Value
NVD
Vulnerability Summary
The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an invalid state. An unauthenticated actor who can cause an affected application to encode an unusually large data structure can terminate the PHP worker or cause the resulting document to omit fields. No MongoDB server connection or database authentication is required.
CVSS v4.0 Base Metrics — Score 6.3 (MEDIUM)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)Low
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 4.8)
CVSS v3.1 Base Metrics — Score 4.8 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:LAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityLow
Affected & Patched Versions
- MongoDB PHP Driver >= 1.3.0 and < 1.21.11
- MongoDB PHP Driver >= 2.0.0 and < 2.1.11
- MongoDB PHP Driver >= 2.2.0 and < 2.5.4
- MongoDB PHP Driver 1.21.11
- MongoDB PHP Driver 2.1.11
- MongoDB PHP Driver 2.5.4
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run MongoDB PHP Driver and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Oct 8, 2026Published
- Oct 8, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new MongoDB PHP Driver CVEsYou are reading CVE-2026-106436. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Issue Trackinghttps://jira.mongodb.org/browse/PHPC-2739
Data last checked: Nov 24, 2026 15:36 UTC