CVE-2026-106436: The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson'
CVE-2026-106436 is a medium-severity flaw (CVSS 4.8) affecting php driver. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 4.8 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 83%) |
| CISA exploited list | No |
| Weakness | CWE-252 |
| Published | 2026-10-08 |
| Last modified | 2026-10-13 |
Last updated 2026-10-13 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-106436?
php driver: upgrade to 1.21.1, 2.1.11, 2.5.4. Exact commands for each OS are on this page.
Is CVE-2026-106436 being exploited?
CVE-2026-106436 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-106436 affect?
CVE-2026-106436 affects php driver. Severity is medium (CVSS 4.8). 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 en
How urgent is CVE-2026-106436?
Priority 26/100. Remotely exploitable, no login, no user action
Software pages
PHP vulnerabilities · MongoDB vulnerabilities
Related CVEs
- CVE-2026-6811 MEDIUM 5.9 UPGRADE Stack exhaustion vulnerability in the MongoDB PHP driver can cause application crashes when processing deeply
- CVE-2026-106432 LOW 3.6 UPGRADE The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation