Skip to main content
VulnerabilityPublished Updated

CVE-2026-112368: MongoDB PHP Driver · Uncontrolled Recursion

Affects MongoDB PHP DriverSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.2 High · fixed in 2.5.5 : patch MongoDB PHP Driver soon.

Data as of 2 Dec 2026, 18:36 UTC

CVSS 4.0 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.5.5, 2.1.12, 1.21.12
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.

What to do

Upgrade MongoDB PHP Driver to 2.5.5, 2.1.12 or 1.21.12.

Affected software

ProductAffectedFixed in
MongoDB Inc.PHP DriverAffected
  • >=2.5.0 <2.5.5
Fixed in
  • 2.5.5
MongoDB Inc.PHP DriverAffected
  • >=2.1.0 <2.1.12
Fixed in
  • 2.1.12
MongoDB Inc.PHP DriverAffected
  • >=1.0.0 <1.21.12
Fixed in
  • 1.21.12

AI-suggested

Fixed versions 1.21.12, 2.1.12, and 2.5.5 of the MongoDB PHP driver are available and should be applied to remediate this vulnerability. Upgrading to these versions will prevent exploitation of the uncontrolled recursion issue. No additional mitigations are indicated or required.

Description

CVE-2026-112368 is a high-severity vulnerability in the MongoDB PHP driver involving uncontrolled recursion in the BSON decoding logic. An unauthenticated attacker who can supply crafted binary document data may cause the PHP process to exhaust its stack and terminate unexpectedly, leading to a denial of service. This issue occurs beneath the PHP layer and cannot be caught by application-level error handling. Fixed versions are available.

References

Community reviews

Loading reviews…