What’s Vulnerable › Vulnerabilities

CVE-2026-84968: Heap out-of-bounds read via corrupt nested BSON in field path error message

Description

An out-of-bounds read in the BSON decoding component of the MongoDB PHP driver may allow an unauthenticated party who supplies specially formed input to have a small amount of adjacent process memory copied into an error message that is returned to application code. This may result in unintended disclosure of limited memory contents.

Affected products

How to fix

Upgrade to a fixed version: MongoDB PHP Driver 1.21.9, 2.1.9, 2.5.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-84968 or the next vulnerability affects your stack