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

Low 2.0 Published Updated

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.

Sources

Also known as DEBIAN-CVE-2026-106432, UBUNTU-CVE-2026-106432.

Is CVE-2026-106432 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free