CVE-2026-112368
Published:October 19, 2026
Updated:October 20, 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.
Affected Packages
https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=1.0.0alpha1 <1.21.12Fix Suggestion:
Update to version 1.21.12https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=2.0.0 <2.1.12Fix Suggestion:
Update to version 2.1.12https://github.com/mongodb/mongo-php-driver.git (GITHUB):
Affected version(s) >=2.5.0 <2.5.5Fix Suggestion:
Update to version 2.5.5mongodb/mongodb-extension (PHP):
Affected version(s) >=2.5.0 <2.5.5Fix Suggestion:
Update to version 2.5.5mongodb/mongodb-extension (PHP):
Affected version(s) >=1.0.0alpha1 <1.21.12Fix Suggestion:
Update to version 1.21.12mongodb/mongodb-extension (PHP):
Affected version(s) >=2.0.0 <2.1.12Fix Suggestion:
Update to version 2.1.12Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Recursion
EPSS
Base Score:
0.26