CVE-2026-106432

HIGHCVSS 8.2/10EPSS 0.09%

Last modified

CVE-2026-106432 is a high-severity vulnerability rated 8.2/10 on the CVSS scale. 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. EPSS estimates a 0.09% chance of exploitation in the next 30 days.

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.

Metrics

Weakness Enumeration

Affected Software

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

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2026-106432?
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.
How severe is CVE-2026-106432?
CVE-2026-106432 has a CVSS score of 8.2/10 (HIGH severity). The EPSS model estimates a 0.09% probability of exploitation in the next 30 days.
How do I fix CVE-2026-106432?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-106432?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST