Application denial of service and data truncation via unchecked BSON append failures in MongoDB PHP Driver (MongoDB PHP Driver)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.26 % Β· percentile 17 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mongodb
- NVD status
- Analyzed
Description
The BSON encoder in the MongoDB PHP Driver does not check some return values after a document exceeds libbson's size limit. This can leave the encoder in an invalid state. An unauthenticated actor who can cause an affected application to encode an unusually large data structure can terminate the PHP worker or cause the resulting document to omit fields. No MongoDB server connection or database authentication is required.
Weaknesses (CWE)
- CWE-252 β Unchecked Return Value
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | MEDIUM 6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N | mongodb |
| CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L | mongodb |
| CVSS 4.0 | MEDIUM 6.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD Β· cna@mongodb.com (Secondary) |
| CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L | NVD Β· cna@mongodb.com (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L | NVD Β· nvd@nist.gov (Primary) |
European references
- ENISA EUVD Β· EUVD-2026-95236
- GCVE Β· GCVE-0-2026-106436
Affected configurations (NVD CPE)
cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*β₯ 1.3.0 < 1.21.1cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*β₯ 2.0.0 < 2.1.11cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*β₯ 2.2.0 < 2.5.4
Affected products
| Product | Versions |
|---|---|
| MongoDB Β· PHP Driver | affected 1.3.0 < 1.21.11 ; affected 2.0.0 < 2.1.11 ; affected 2.2.0 < 2.5.4 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |