{"id":"CVE-2026-112368","state":"PUBLISHED","title":"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.","publishedAt":"2026-10-19T15:49:16.053Z","updatedAt":"2026-10-20T19:28:39.257Z","severity":{"score":8.2,"label":"High","version":"4.0","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","source":"mongodb"},"assigner":"mongodb","products":["MongoDB Inc. PHP Driver"],"affected":[{"vendor":"MongoDB Inc.","product":"PHP Driver","defaultStatus":"unaffected","versions":[{"version":"1.0.0","status":"affected","lessThan":"1.21.12","versionType":"semver"},{"version":"2.1.0","status":"affected","lessThan":"2.1.12","versionType":"semver"},{"version":"2.5.0","status":"affected","lessThan":"2.5.5","versionType":"semver"}]}],"references":["https://jira.mongodb.org/browse/PHPC-276"],"weaknesses":["CWE-674"],"ingestedAt":"2026-10-29T20:10:43.281Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/112xxx/CVE-2026-112368.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-112368","state":"PUBLISHED","datePublished":"2026-10-19T15:49:16.053Z","dateUpdated":"2026-10-20T19:28:39.257Z","assignerShortName":"mongodb","assignerOrgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateReserved":"2026-10-19T15:43:27.356Z"},"containers":{"cna":{"title":"Unbounded Recursion in phongo_bson_visit_document/visit_array:","descriptions":[{"lang":"en","value":"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":[{"vendor":"MongoDB Inc.","product":"PHP Driver","defaultStatus":"unaffected","versions":[{"version":"1.0.0","status":"affected","lessThan":"1.21.12","versionType":"semver"},{"version":"2.1.0","status":"affected","lessThan":"2.1.12","versionType":"semver"},{"version":"2.5.0","status":"affected","lessThan":"2.5.5","versionType":"semver"}]}],"references":[{"url":"https://jira.mongodb.org/browse/PHPC-276"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.2,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseSeverity":"HIGH","baseScore":7.5,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","lang":"en","description":"CWE-674: Uncontrolled Recursion","type":"CWE"}]}],"providerMetadata":{"shortName":"mongodb","orgId":"a39b4221-9bd0-4244-95fc-f3e2e07f1deb","dateUpdated":"2026-10-19T15:49:16.053Z"},"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.5"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-20T19:28:30.897459Z","id":"CVE-2026-112368","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-20T19:28:39.257Z"}}]}}}