CVE-2026-106432

LOW CVSS 4.0: 2.0 EPSS 0.17%
Updated Oct 13, 2026
MongoDB
Parameter Value
CVSS 2.0 (LOW)
Affected Versions 1.3.0 — 2.5.4
Fixed In 1.21.1
Type CWE-681
Vendor MongoDB
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 3

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