CVE-2026-112368
published high CVSS 4.0 · 8.2Unbounded Recursion in phongo_bson_visit_document/visit_array:
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc. | — | PHP Driver1.0.0 to < 1.21.12 · 2.1.0 to < 2.1.12 · 2.5.0 to < 2.5.5 · Other versions: unaffected | Affected | Not stated | mongodb |
| Debian | trixie | php-mongodb | Advisory build | 2.0.0-1+deb13u2 | DSA-6589-1 |
Description
An uncontrolled recursion weakness in the BSON decoding logic of the MongoDB PHP driver may allow an unauthenticated party who can supply crafted binary document data to the decoder to exhaust the process stack. This may cause the PHP process using the driver to terminate unexpectedly, resulting in a loss of availability for that process. The condition occurs below the PHP layer and cannot be intercepted by application-level error handling.
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
- 8.2 / 10
- Severity
- high
- Provider
- mongodb · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc. | PHP Driver | 1.0.0 to < 1.21.12 (affected · semver)2.1.0 to < 2.1.12 (affected · semver)2.5.0 to < 2.5.5 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-674 CWE-674: Uncontrolled Recursion
References
1Provider assertions
2mongodb · cna
Unbounded Recursion in phongo_bson_visit_document/visit_array:
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- af41fa552138cbbe450206a8ac409eebf2306a8836354c5c726d2203ba3f42d3
- Ingested
- 20 Oct 2026, 19:36:37 UTC
- Source record
- Official CVE record