| Name | CVE-2026-112368 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6589-1 |
| Debian Bugs | 1151934 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| php-mongodb (PTS) | bookworm | 1.15.0+1.11.1+1.9.2+1.7.5-1 | vulnerable |
| trixie | 2.0.0-1 | vulnerable |
| trixie (security) | 2.0.0-1+deb13u2 | fixed |
| forky | 2.5.3-1 | vulnerable |
| sid | 2.5.5-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://jira.mongodb.org/browse/PHPC-276
Fixed by: https://github.com/mongodb/mongo-php-driver/commit/795e914e6f7cc631a2f80c89aedcdd2a1df4ada9 (2.5.5, 2.1.12, 1.21.12)
Fixed by: https://github.com/mongodb/mongo-php-driver/commit/01363996a93b33fea58c90f5e8d1eaea5e01eafd (2.5.5, 2.1.12, 1.21.12)