# CVE-2026-112368: Unbounded Recursion in phongo\_bson\_visit\_document/visit\_array:

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 1.21.12, 2.1.12, 2.5.5 (CNA); fix release not confirmed
- Status: published
- Published: 2026-10-19 · Modified: 2026-10-20
- Aliases: DEBIAN-CVE-2026-112368, UBUNTU-CVE-2026-112368
- Record: https://cvemate.com/vulnerability/CVE-2026-112368 · JSON: https://cvemate.com/vulnerability/CVE-2026-112368/json

## Description

```text
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.
```

## Signals

- CVSS: 8.2 high (v4.0, CVE.org) 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
- EPSS: 0.263%, percentile 19.307%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian php-mongodb (Debian): All versions (No fix recorded) \| \< 2.0.0-1+deb13u2 \| \< 2.5.5-1
- ubuntu php-mongodb (Ubuntu): All versions (No fix recorded)
- mongodb inc. php driver: ≥ 1.0.0, \< 1.21.12 \| ≥ 2.1.0, \< 2.1.12 \| ≥ 2.5.0, \< 2.5.5

## References

- <https://jira.mongodb.org/browse/PHPC-276>
- <https://security-tracker.debian.org/tracker/CVE-2026-112368>
- <https://ubuntu.com/security/CVE-2026-112368>
- <https://www.cve.org/CVERecord?id=CVE-2026-112368>

---

Data as of 2026-12-05T05:02:55.498Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
