CVE-2026-106432MongoDB Php Driver incorrect numeric conversion
CVSS score
2.0
Low
CVSS 4.0 from mongodb.com
Exploit probability (EPSS)
0.17%
0.17% chance of exploitation in the next 30 days, higher than 6.44% 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 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 server interaction 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
- Local
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Low
- 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:L/AC:L/AT:P/PR:L/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.16.0, < 1.21.11 |
Weakness
- CWE-681 incorrect numeric conversion
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-106432 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-106432?
CVE-2026-106432 has a CVSS 4.0 base score of 2.0 (low).
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.16.0, < 1.21.11)
Is there a patch for CVE-2026-106432?
The official record links to vendor advisories or patches; see “What to do” above.
References
- jira.mongodb.org/browse/PHPC-2741(Vendor Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.