Medium · published September 3, 2026
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.
| Product | Versions | Fixed in |
|---|---|---|
| mongodb/php_driver | ≥ 1.15.0, < 1.21.9 | 1.21.9 |
| mongodb/php_driver | ≥ 2.0.0, < 2.1.9 | 2.1.9 |
| mongodb/php_driver | ≥ 2.2.0, < 2.5.2 | 2.5.2 |