The resulting heap buffer overflow can corrupt process memory or terminate the PHP process.
- CVSS
- 8.2High
- Chance of exploitation (EPSS)
- 0.17%
- Published
- Oct 8, 2026
- In the news
- Not yet
What to do
A serious security flaw in Mongodb PHP Driver that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Fixed in: 1.21.11, 2.1.11, 2.5.4
Affected versions
- Mongodb PHP Driver
- 1.16.0 to before 1.21.11; 2.0.0 to before 2.1.11; 2.2.0 to before 2.5.4
Description
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.
Affected products
Get alerts for these →Timeline 3
Latest change: Nessus plugin 374652: Fedora 45 : php-pecl-mongodb2 (2026-ce7737d311) (Oct 30, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Sat, Oct 31, 2026
Wed, Oct 28, 2026
Thu, Oct 8, 2026
- CVECVE-2026-106432 published (CVSS 8.2)CVE Program · 20:17 UTC
References 1
- jira.mongodb.org Vendor Advisory /browse/PHPC-2741