CVE-2026-112368

published 19 Oct 2026 · updated 20 Oct 2026

Unbounded Recursion in phongo_bson_visit_document/visit_array:

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in PHP Driver 1.21.12, PHP Driver 2.1.12 and PHP Driver 2.5.5.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBPHP Driver>=1.0.0 <1.21.12, >=2.1.0 <2.1.12, >=2.5.0 <2.5.51.21.12, 2.1.12, 2.5.5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-112368 severity on Zeptric[![CVE-2026-112368](https://zeptric.io/badge/cve/CVE-2026-112368.svg)](https://zeptric.io/cve/CVE-2026-112368)