CVE-2026-106432: The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation
CVE-2026-106432 is a low-severity flaw (CVSS 3.6) 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 converts a string length to a 32-bit value without validation. When an affected application encodes a string near 4 GiB, the allocation size can wrap while the copy operation uses the original length. The resulting heap buffer overflow can corrupt process memory or terminate the PHP process. Reaching this issue requires a non-default runtime configuration that permits multi-gigabyte values. No MongoDB se
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 3.6 (Low) |
| Attack vector | Local |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 94%) |
| CISA exploited list | No |
| Weakness | CWE-681 |
| 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-106432?
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-106432 being exploited?
CVE-2026-106432 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-106432 affect?
CVE-2026-106432 affects php driver. Severity is low (CVSS 3.6). The BSON encoder in the MongoDB PHP Driver converts a string length to a 32-bit value without validation. When an affected application encodes a string near 4 GiB, the allocation size can wrap while the copy operation uses the original leng
How urgent is CVE-2026-106432?
Priority 14/100. No elevated risk signals yet.
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-106436 MEDIUM 4.8 UPGRADE The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson'
- CVE-2026-81525 HIGH 8.1 UPGRADE UPGRADE The MongoDB client library for PHP does not sufficiently sanitize special elements in application-supplied nam
- CVE-2026-84968 MEDIUM 5.3 UPGRADE An out-of-bounds read in the BSON decoding component of the MongoDB PHP driver may allow an unauthenticated pa