CVE-2026-112368

Unbounded Recursion in phongo_bson_visit_document/visit_array:

  • High 8.2

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.

Key facts

Published
19 Oct 2026
Last changed
20 Oct 2026
Assigned by
mongodb
EPSS
0.263% likely to be exploited in the next 30 days, higher than 18.289% of CVEs (scores for 18 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: yes; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 8.2CVSS 4.0, Highfrom the CNA (mongodb)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
  • 7.5CVSS 3.1, Highfrom the CNA (mongodb)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
MongoDB Inc.PHP Driver
  • Default status: unaffected
  • 1.0.0 up to but excluding 1.21.12 (affected)
  • 2.1.0 up to but excluding 2.1.12 (affected)
  • 2.5.0 up to but excluding 2.5.5 (affected)

Timeline

  1. 19 Oct 2026 Published

Weakness

References