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.
References
| Link | Resource |
|---|---|
| https://jira.mongodb.org/browse/PHPC-2741 | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
13 Oct 2026, 20:09
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Mongodb php Driver
Mongodb |
|
| CPE | cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:* | |
| References | () https://jira.mongodb.org/browse/PHPC-2741 - Vendor Advisory |
08 Oct 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-10-08 20:17
Updated : 2026-10-13 20:09
NVD link : CVE-2026-106432
Mitre link : CVE-2026-106432
CVE.ORG link : CVE-2026-106432
JSON object : View
Products Affected
mongodb
- php_driver
CWE
CWE-681
Incorrect Conversion between Numeric Types
