CVE-2026-112368 PUBLISHED

Unbounded Recursion in phongo_bson_visit_document/visit_array:

Assigner: mongodb
Reserved: 19.10.2026 Published: 19.10.2026 Updated: 19.10.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.2

Product Status

Vendor MongoDB Inc.
Product PHP Driver
Versions Default: unaffected
  • affected from 1.0.0 to 1.21.12 (excl.)
  • affected from 2.1.0 to 2.1.12 (excl.)
  • affected from 2.5.0 to 2.5.5 (excl.)

References

Problem Types

  • CWE-674: Uncontrolled Recursion CWE