CVE-2026-112368

Unbounded Recursion in phongo_bson_visit_document/visit_array:

State
Published
Severity
8.2 High
Published
Oct 19, 2026
Updated
Oct 20, 2026
Reserved
Oct 19, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.2 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Nmongodb
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hmongodb

Weaknesses

Affected Products

ProductVersions
PHP DriverMongoDB Inc.
  • 1.0.0 to before 1.21.12Affected
  • 2.1.0 to before 2.1.12Affected
  • 2.5.0 to before 2.5.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.