Patch Ticker
EnglishEN
Elevated

MongoDB PHP Driver invalid pointer release corrupts process memory

CVE-2026-135133

A PHP part that connects to MongoDB can let attackers take over your server.

CVE
CVE-2026-135133 (opens in a new tab)
Score
CVSS 8.5
First seen

Mitigation

Update to the fixed version for your line: 1.x to 1.21.15 or later, 2.0 to 2.1 line to 2.1.15 or later, 2.2 to 2.5 line to 2.5.9 or later.

Update to at least the version for your product:

  • MongoDB PHP Driver 1.x 1.21.15 or later
  • MongoDB PHP Driver 2.0 line 2.1.15 or later
  • MongoDB PHP Driver 2.2 line 2.5.9 or later

Summary

Giving non-string values to string-typed options or type-mapping settings releases memory incorrectly. Someone who can run PHP code can corrupt memory in a process that loads the extension. Fixed versions are given for each release line.

Affected when

  • PHP process that loads the MongoDB extension
  • Party able to run PHP code in that process
  • String-typed option or type-mapping setting given a non-string value

3 other Incidents of this product in the last 30 days

Incidents by product: MongoDB PHP Driver

Other recent Incidents of MongoDB PHP Driver

Read the write-up · jira.mongodb.org (opens in a new tab)