CVE-2026-106432 LOW

CVE-2026-106432: Heap buffer overflow via 32-bit string-length truncation in MongoDB PHP Driver

Vendor Mongodb
Product PHP Driver
Weakness CWE-681
Published October 8, 2026
Last update October 8, 2026

CVSS base score

2.0/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality —
Integrity —

CVSS vector

CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

October 8, 2026 CVE published
October 8, 2026 Record updated