Invalid pointer release for non-string option values in MongoDB PHP Driver
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
The MongoDB PHP Driver extension, from 1.0.0 before 1.21.15, from 2.0.0 before 2.1.15, and from 2.2.0 before 2.5.9, releases an invalid pointer when certain string-typed options or type-mapping settings receive non-string values, a weakness classified as CWE-763. A party who can run PHP code in a process that loads the extension can corrupt process memory. This can lead to reading or changing process memory, running commands as the PHP process user, or crashing the process.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
Description from the CNA
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 now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MongoDB | PHP Driver | 1.0.0 to before 1.21.15; 2.0.0 to before 2.1.15; 2.2.0 to before 2.5.9 | 1.21.15, 2.1.15, 2.5.9 | Patch available | CNA |
- PHP Driver VendorMongoDB Affected 1.0.0 to before 1.21.15; 2.0.0 to before 2.1.15; 2.2.0 to before 2.5.9 Fixed in 1.21.15, 2.1.15, 2.5.9 Patch available CNA
Remediation
Upgrade the MongoDB PHP Driver to 1.21.15, 2.1.15, or 2.5.9, depending on the release line in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-25
- Fix · CNA PHP Driver (MongoDB) Fixed in 1.21.15, 2.1.15, 2.5.9
Timeline
- 2026-11-25 Threatist record created from CVE-2026-135133
- 2026-11-25 CISA SSVC decision points changed
References
More MongoDB vulnerabilities
- TI-2019-08023 Remote code execution in mongo-express via toBSON endpoints KEVCVSS 3.1CRITICAL 9.9
- TI-2025-13542 Zlib header length mismatch in MongoDB Server allows memory read KEVCVSS 4.0HIGH 8.7
- TI-2026-89295 MongoDB Server Missing Authorization Check in Replication Administrative Command CVSS 4.0HIGH 8.6
- TI-2026-89289 Incorrect authorization in MongoDB Server allows admin access CVSS 4.0HIGH 8.6
- TI-2026-79432 BSON output corruption via out-of-range binary subtype in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
- TI-2026-79424 NoSQL command injection via mismatched BSON length in MongoDB C# Driver CVSS 4.0MEDIUM 6.9
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences