CVE Watchtower

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.
Severity Level
MEDIUM(6.3)
Published Date
Oct 8, 2026
Last Modified
Oct 8, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.26%Probability
Root Weakness (CWE)
The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.
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:N
Attack 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:L
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityLow

Affected & Patched Versions

Affected 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
Patched Versions
  • 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.

  1. Check whether you run MongoDB PHP Driver and which version.
  2. 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 alerts

External References

Data last checked: Nov 24, 2026 15:36 UTC