CVE-2026-106432
EUVD-2026-9523408.10.2026, 20:17
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.Enginsight
Early Detection
Affected products identified ahead of NVD analysis through intelligence sources.
| Vendor | Product | Version | Source |
|---|---|---|---|
| mongodb | php_driver | 1.16.0 ≤ 𝑥 < 1.21.11 | CNA |
| mongodb | php_driver | 2.0.0 ≤ 𝑥 < 2.1.11 | CNA |
| mongodb | php_driver | 2.2.0 ≤ 𝑥 < 2.5.4 | CNA |