7.5High

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

MongoDB Inc. PHP Driver Published: (28 days ago)

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.

Weakness (CWE): CWE-674

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
MongoDB Inc. PHP Driver 1.0.0 – < 1.21.12, 2.1.0 – < 2.1.12, 2.5.0 – < 2.5.5

References and patches