Skip to content
DayZeroHub
High Not yet writtenCVSS 8.5CVE-2026-135133

CVE-2026-135133: Invalid pointer release for non-string option values in the PHP Driver

MongoDB PHP Driver

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135133: high-severity vulnerability (CVSS 8.5) in MongoDB PHP Driver.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 8.5.

Affected products and versions

MongoDB PHP Driver >= 1.0.0, < 1.21.15; MongoDB PHP Driver >= 2.0.0, < 2.1.15; MongoDB PHP Driver >= 2.2.0, < 2.5.9

ProductVersionsFixed in
MongoDB PHP Driver>= 1.0.0, < 1.21.15—
MongoDB PHP Driver>= 2.0.0, < 2.1.15—
MongoDB PHP Driver>= 2.2.0, < 2.5.9—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-763

Relevant change history

  1. Published

    Preliminary advisory published.