CVE-2026-106436MongoDB Php Driver unchecked return value
CVSS score
6.3
Medium
CVSS 4.0 from mongodb.com
Exploit probability (EPSS)
0.26%
0.26% chance of exploitation in the next 30 days, higher than 17.4% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: cna@mongodb.com
How to fix it, step by step
Check whether you're affected
Find every system running MongoDB Php Driver and compare its version with the affected versions.
Update to a fixed version
- Update Php Driver to 1.21.1, 1.21.11, 2.1.11, 2.5.4 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- Low
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| MongoDB Php Driver | ≥ 1.3.0, < 1.21.1 · ≥ 2.0.0, < 2.1.11 · ≥ 2.2.0, < 2.5.4 · ≥ 1.3.0, < 1.21.11 |
Weakness
- CWE-252 unchecked return value
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-106436 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-106436?
CVE-2026-106436 has a CVSS 4.0 base score of 6.3 (medium).
Which versions are affected?
MongoDB Php Driver (≥ 1.3.0, < 1.21.1; ≥ 2.0.0, < 2.1.11; ≥ 2.2.0, < 2.5.4; ≥ 1.3.0, < 1.21.11)
Is there a patch for CVE-2026-106436?
The official record links to vendor advisories or patches; see “What to do” above.
References
- jira.mongodb.org/browse/PHPC-2739(Vendor Advisory, Issue Tracking)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.