CVE-2026-112368 Unbounded Recursion in phongo_bson_visit_document/visit_array:
HighCVSS 8.2
EPSS 0.26%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- PHPUbuntuDebian
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.
Upgrade path
8 packages: 3 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/php-mongodb(Debian 12) | = 1.15.0+1.11.1+1.9.2+1.7.5-1; = 1.19.3-1; = 1.19.4-2; = 1.19.4-3~exp2 +10 more | No fix listed | No fix yet |
| ubuntu/php-mongodb(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/php-mongodb(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/php-mongodb(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/php-mongodb(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/php-mongodb(Debian 13) | < 2.0.0-1+deb13u2; = 2.0.0-1; = 2.0.0-1+deb13u1 | 2.0.0-1+deb13u2 | Fixed |
| debian/php-mongodb(Debian 14) | < 2.5.5-1; = 2.0.0-1; = 2.1.0-1; = 2.5.3-1 | 2.5.5-1 | Fixed |
| MongoDB PHP Driver | >= 1.0.0, < 1.21.12; >= 2.1.0, < 2.1.12; >= 2.5.0, < 2.5.5 | 1.21.12, 2.1.12, 2.5.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB PHP Driver | >= 1.0.0, < 1.21.12 | 1.21.12 |
| MongoDB PHP Driver | >= 2.1.0, < 2.1.12 | 2.1.12 |
| MongoDB PHP Driver | >= 2.5.0, < 2.5.5 | 2.5.5 |
| debian/php-mongodb(Debian:12) | All versions | No fix listed |
| debian/php-mongodb(Debian:12) | = 1.15.0+1.11.1+1.9.2+1.7.5-1 | No fix listed |
| debian/php-mongodb(Debian:12) | = 1.19.3-1 | No fix listed |
| debian/php-mongodb(Debian:12) | = 1.19.4-2 | No fix listed |
| debian/php-mongodb(Debian:12) | = 1.19.4-3~exp2 | No fix listed |
| debian/php-mongodb(Debian:12) | = 1.19.4-3~exp3 | No fix listed |
| debian/php-mongodb(Debian:12) | = 1.19.4-3~exp4 | No fix listed |
| debian/php-mongodb(Debian:12) | = 1.20.0-1 | No fix listed |
| debian/php-mongodb(Debian:12) | = 1.20.1-1 | No fix listed |
| debian/php-mongodb(Debian:12) | = 1.21.0-1 | No fix listed |
| debian/php-mongodb(Debian:12) | = 2.0.0-1 | No fix listed |
| debian/php-mongodb(Debian:12) | = 2.1.0-1 | No fix listed |
| debian/php-mongodb(Debian:12) | = 2.5.3-1 | No fix listed |
| debian/php-mongodb(Debian:12) | = 2.5.5-1 | No fix listed |
| debian/php-mongodb(Debian:13) | < 2.0.0-1+deb13u2 | 2.0.0-1+deb13u2 |
| debian/php-mongodb(Debian:13) | = 2.0.0-1 | No fix listed |
| debian/php-mongodb(Debian:13) | = 2.0.0-1+deb13u1 | No fix listed |
| debian/php-mongodb(Debian:14) | < 2.5.5-1 | 2.5.5-1 |
| debian/php-mongodb(Debian:14) | = 2.0.0-1 | No fix listed |
| debian/php-mongodb(Debian:14) | = 2.1.0-1 | No fix listed |
| debian/php-mongodb(Debian:14) | = 2.5.3-1 | No fix listed |
| ubuntu/php-mongodb(Ubuntu:22.04) | All versions | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/php-mongodb(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/php-mongodb(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/php-mongodb(Ubuntu:26.10) | All versions | No fix listed |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2555669 issue-tracking
- www.cve.org
- nvd.nist.gov
- jira.mongodb.org
- Debian Security Tracker CVE-2026-112368 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-104414 third-party-advisory