CVE-2026-106436: MongoDB PHP Driver · Unchecked Return Value
Affects MongoDB PHP DriverSource CVE Database V5
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| MongoDBPHP Driver | Affected
| Fixed in
|
| MongoDBPHP Driver | Affected
| Fixed in
|
| MongoDBPHP Driver | Affected
| Fixed in
|
Packagistmongodb/mongodbpkg:composer/mongodb/mongodbOther threats | Affected
| Fixed in
|
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.