CVE-2026-106432 Heap buffer overflow via 32-bit string-length truncation in MongoDB PHP Driver
Heap buffer overflow in MongoDB PHP Driver allows memory corruption or process termination via integer overflow during large string encoding.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-106432?
CVE-2026-106432 is a low-severity vulnerability in MongoDB PHP Driver, published on 8 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-681
Which versions are affected by CVE-2026-106432?
It affects 1 product.
Products include Mongodb Php Driver.
How do I fix CVE-2026-106432?
Apply the vendor's patch.
Is CVE-2026-106432 being exploited?
There is no known exploitation of CVE-2026-106432 in the wild and no public exploit code.
Other vulnerabilities in MongoDB PHP Driver
- CVE-2026-81525 Cross-tenant database retargeting via dot/NUL injection in namespace strings in the PHP Driver
- CVE-2026-84968 Heap out-of-bounds read via corrupt nested BSON in field path error message
- CVE-2026-106436 Application denial of service and data truncation via unchecked BSON append failures in MongoDB PHP Driver
- CVE-2026-6811 PHP Stack Exhaustion
Sources
Also known as DEBIAN-CVE-2026-106432, UBUNTU-CVE-2026-106432.