CVE Watchtower

CVE-2026-106432MongoDB PHP Driver Incorrect Conversion between Numeric Types

NVD

Vulnerability Summary

The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation. When an affected application encodes a string near 4 GiB, the allocation size can wrap while the copy operation uses the original length. The resulting heap buffer overflow can corrupt process memory or terminate the PHP process. Reaching this issue requires a non-default runtime configuration that permits multi-gigabyte values. No MongoDB server interaction is required.
Severity Level
LOW(2.0)
Published Date
Oct 8, 2026
Last Modified
Oct 8, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.17%Probability
Root Weakness (CWE)
When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values.
CVSS v4.0 Base Metrics — Score 2.0 (LOW)
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Attack VectorLocal
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredLow
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 3.6)
CVSS v3.1 Base Metrics — Score 3.6 (LOW)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Attack VectorLocal
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityLow

Affected & Patched Versions

Affected Versions
  • MongoDB PHP Driver >= 1.16.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-106432. 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