All vulnerabilities
CVE-2026-106436

Application denial of service and data truncation via unchecked BSON append failures in MongoDB PHP Driver

MongoDB PHP DriverRuntimes & languages
CVSS
6.3Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.26%Chance of exploitation activity in the next 30 days, higher than 16% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in1.21.11Also 2.1.11, 2.5.4CVE List
Published8 Oct 2026Updated 8 Oct 2026CVE List

What fixes it

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 3

  • PHP Driveraffected: 1.3.0 before 1.21.11CVE List
  • PHP Driveraffected: 2.0.0 before 2.1.11CVE List
  • PHP Driveraffected: 2.2.0 before 2.5.4CVE List

References 1