CVE-2026-135133: MongoDB PHP Driver

High severity, CVSS 7.8. EPSS: 0.3% probability of exploitation activity in the next 30 days.

An invalid memory release in the MongoDB PHP Driver extension occurs when certain string-typed options or type-mapping settings are given non-string values. A party who can run PHP code in a process that loads the extension may corrupt process memory. This can lead to reading or changing process memory, running commands as the PHP process user, or crashing the process.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • MongoDB PHP Driver, from 1.0.0, before 1.21.15: fixed in 1.21.15
  • MongoDB PHP Driver, from 2.0.0, before 2.1.15: fixed in 2.1.15
  • MongoDB PHP Driver, from 2.2.0, before 2.5.9: fixed in 2.5.9

Affected products

  • MongoDB PHP Driver: from 1.0.0, before 1.21.15 (fixed in 1.21.15); from 2.0.0, before 2.1.15 (fixed in 2.1.15); from 2.2.0, before 2.5.9 (fixed in 2.5.9)

Published 2026-11-25. Last modified 2026-11-25.