What’s Vulnerable › Vulnerabilities
CVE-2026-106436: Application denial of service and data truncation via unchecked BSON append failures in MongoDB PHP Driver
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-08 · updated 2026-10-13
- Weakness: CWE-252
Description
The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an invalid state. An unauthenticated actor who can cause an affected application to encode an unusually large data structure can terminate the PHP worker or cause the resulting document to omit fields. No MongoDB server connection or database authentication is required.
Affected products
- MongoDB PHP Driver: from 1.3.0 before 1.21.1; from 2.0.0 before 2.1.11; from 2.2.0 before 2.5.4 — fixed in 1.21.1, 2.1.11, 2.5.4
How to fix
Upgrade to a fixed version: MongoDB PHP Driver 1.21.1, 2.1.11, 2.5.4. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-106436 or the next vulnerability affects your stack