CVE-2026-106436
published medium CVSS 4.0 · 6.3Application denial of service and data truncation via unchecked BSON append failures in MongoDB PHP Driver
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | PHP Driver1.3.0 to < 1.21.11 · 2.0.0 to < 2.1.11 · 2.2.0 to < 2.5.4 · Other versions: unaffected | Affected | Not stated | mongodb |
| Debian | trixie | php-mongodb | Advisory build | 2.0.0-1+deb13u2 | DSA-6589-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.8 | medium | mongodb · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | PHP Driver | 1.3.0 to < 1.21.11 (affected · semver)2.0.0 to < 2.1.11 (affected · semver)2.2.0 to < 2.5.4 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-252 CWE-252: Unchecked Return Value
References
1Provider assertions
2mongodb · cna
Application denial of service and data truncation via unchecked BSON append failures in MongoDB PHP Driver
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bc5aa2576d7e936509281ab86cb95cef1543d0c52cddf00b6308c58103e3b983
- Ingested
- 09 Oct 2026, 16:25:58 UTC
- Source record
- Official CVE record