PoC Monitor
← All CVEs
CVE-2026-106432published 8 Oct 2026 19:02 UTCData: JSON · API

MongoDB PHP Driver

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by NVD · CWE-681
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

MongoDB PHP Driver
  • >= 1.16.0, < 1.21.11
  • >= 2.0.0, < 2.1.11
  • >= 2.2.0, < 2.5.4

Fixed in 1.21.11, 2.1.11, 2.5.4

Mitigation

Upgrade PHP Driver to 1.21.11 or 2.1.11 or 2.5.4 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published8 Oct 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.