CVE-2026-106436: MongoDB PHP Driver

Medium severity, CVSS 4.8. EPSS: 0.3% chance of exploitation in the next 30 days.

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.11 (fixed in 1.21.11); from 2.0.0, before 2.1.11 (fixed in 2.1.11); from 2.2.0, before 2.5.4 (fixed in 2.5.4)

Published 2026-10-08. Last modified 2026-10-08.