Skip to main content
VulnerabilityPublished

CVE-2026-106436: MongoDB PHP Driver · Unchecked Return Value

Affects MongoDB PHP DriverSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.3 Medium · fixed in 2.5.4 : update MongoDB PHP Driver when convenient.

Data as of 22 Nov 2026, 21:14 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.5.4, 2.1.11, 1.21.11
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.

What to do

Upgrade PHP Driver and mongodb/mongodb to 2.5.4, 2.1.11 or 1.21.11.

Affected software

ProductAffectedFixed in
MongoDBPHP DriverAffected
  • >=2.2.0 <2.5.4
Fixed in
  • 2.5.4
MongoDBPHP DriverAffected
  • >=2.0.0 <2.1.11
Fixed in
  • 2.1.11
MongoDBPHP DriverAffected
  • >=1.3.0 <1.21.11
Fixed in
  • 1.21.11
Packagistmongodb/mongodbpkg:composer/mongodb/mongodbOther threatsAffected
  • >=1.3.0 <1.21.11
  • >=2.0.0 <2.1.11
  • >=2.2.0 <2.5.4
Fixed in
  • 1.21.11
  • 2.1.11
  • 2.5.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, users should avoid processing BSON documents that exceed libbson's size limit or implement application-level checks to prevent such documents from being encoded.

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.

References

Community reviews

Loading reviews…