Live threats

All CVEs / Mongodb

CVE-2026-106432Mongodb Php Driver

Low 2.0

Priority
12
CVSS 4.0
2.0
EPSS
—
Auth required
Yes
Published
Oct 8, 2026
Updated
Oct 13, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-681
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php Driver.

Affected products (CPE)

VendorProductVersions
mongodbphp_driver≥ 1.3.0 < 1.21.1
mongodbphp_driver≥ 2.0.0 < 2.1.11
mongodbphp_driver≥ 2.2.0 < 2.5.4

Official sources

References

Links published by the sources. Open them with care.