# CVE-2026-112368: Unbounded Recursion in phongo_bson_visit_document/visit_array:

- Severity: High 8.2 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-10-19T15:49:16.053Z
- Modified: 2026-10-20T20:17:16.413Z
- Weaknesses: CWE-674
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB Inc. PHP Driver: from 1.0.0 before 1.21.12; from 2.1.0 before 2.1.12; from 2.5.0 before 2.5.5

## Every score

- mongodb: CVSS:4.0 8.2 High `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`
- mongodb: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://jira.mongodb.org/browse/PHPC-276>

## Sources

- CVE List: [CVE-2026-112368](https://www.cve.org/CVERecord?id=CVE-2026-112368), CVE Terms of Use, modified 2026-10-20
- NVD: [CVE-2026-112368](https://nvd.nist.gov/vuln/detail/CVE-2026-112368), Public domain, modified 2026-10-20

---

Page: https://cve.day/CVE-2026-112368 · Whole record: https://cve.day/CVE-2026-112368.json · Rebuilt by cve.day 2026-11-25T22:59:45.526Z
