CVE-2026-106432

Severity CVSS v4.0:
LOW
Type:
Unavailable / Other
Publication date:
08/10/2026
Last modified:
13/10/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:* 1.3.0 (including) 1.21.1 (excluding)
cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:* 2.0.0 (including) 2.1.11 (excluding)
cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:* 2.2.0 (including) 2.5.4 (excluding)


References to Advisories, Solutions, and Tools