๐Ÿ” CVE Alert

CVE-2026-106432

LOW 3.6

Heap buffer overflow via 32-bit string-length truncation in MongoDB PHP Driver

CVSS Score
3.6
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-681
Vendor mongodb
Product php driver
Ecosystems
Industries
Technology
Published Oct 8, 2026
Last Updated Oct 8, 2026
Stay Ahead of the Next One

Get instant alerts for mongodb php driver

Be the first to know when new low vulnerabilities affecting mongodb php driver are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low

Affected Versions

MongoDB / PHP Driver
1.16.0 < 1.21.11 2.0.0 < 2.1.11 2.2.0 < 2.5.4

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
jira.mongodb.org: https://jira.mongodb.org/browse/PHPC-2741