Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2026-112368

Unbounded Recursion in phongo_bson_visit_document/visit_array:

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MongoDB Inc. PHP Driver

Default version status: unaffected

  • 1.0.0 to < 1.21.12affected
  • 2.1.0 to < 2.1.12affected
  • 2.5.0 to < 2.5.5affected

References