Open-source package vulnerability · Composer (PHP)
CVE-2025-12119: MongoDB driver extension affected by mongoc_bulk_operation_t's read of invalid memory
mediumCVSS 4.0 6.9 · 3.1 6.8GHSA-mwcc-7vpp-xmv9
A mongocbulkoperationt may read invalid memory if large options are passed.
Published Nov 19, 2025 · Updated Mar 24, 2026
Affected packages
mongodb/mongodb-extension
- Ecosystem
- Composer (PHP)
- Affected
- < 1.21.2
- Fixed in
- 1.21.2
- Check
composer show mongodb/mongodb-extension
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
Credited to decsecre583.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-12119
- https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.6
- https://github.com/mongodb/mongo-c-driver/releases/tag/2.1.2
- https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.2
- https://github.com/mongodb/mongo-php-driver/commit/fa5b43366407bc0e5b0a919ed374decd9022b2f9
- https://jira.mongodb.org/browse/PHPC-2637
- https://lists.debian.org/debian-lts-announce/2026/01/msg00009.html
- https://github.com/mongodb/mongo-c-driver/commit/775998df7c67
- https://github.com/advisories/GHSA-mwcc-7vpp-xmv9
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
