{"id":"CVE-2025-12119","summary":"Bulk write with options may read invalid memory","details":"A mongoc_bulk_operation_t may read invalid memory if large options are passed.","aliases":["GHSA-mwcc-7vpp-xmv9"],"modified":"2026-05-18T05:59:08.708154357Z","published":"2025-11-18T20:21:08.252Z","database_specific":{"cna_assigner":"mongodb","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12119.json","cwe_ids":["CWE-825"]},"references":[{"type":"WEB","url":"https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.6"},{"type":"WEB","url":"https://github.com/mongodb/mongo-c-driver/releases/tag/2.1.2"},{"type":"WEB","url":"https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.2"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00009.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12119.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12119"},{"type":"PACKAGE","url":"https://github.com/mongodb/mongo-c-driver"},{"type":"PACKAGE","url":"https://github.com/mongodb/mongo-php-driver"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb/mongo-c-driver","events":[{"introduced":"22791447aeb652803af8ba38a19880f5a03ea976"},{"fixed":"0106ff90b108bbf312db122fec7d263543028355"},{"introduced":"67817df0a9ed11b07e457477e6db1384da9421c4"},{"fixed":"81c27ddadd54e80d9743dee0e8b7a0a862aa6ab5"}],"database_specific":{"extracted_events":[{"introduced":"1.9.0"},{"fixed":"1.30.6"},{"introduced":"2.0.0"},{"fixed":"2.1.2"}],"source":["CPE_FIELD","REFERENCES"],"cpe":"cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-12119.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/mongodb/mongo-php-driver","events":[{"introduced":"0"},{"fixed":"d62861079f1346d5d3426a910ab2abd6e6a8a2e4"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.21.2"}],"cpe":"cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*","source":["CPE_FIELD","REFERENCES"]}}],"versions":["1.21.1","1.21.0","1.18.0","1.17.0","1.15.0","1.14.0","1.14.0beta1","1.13.0","1.12.0","1.11.0","1.11.0alpha1","1.10.0alpha1","1.6.0RC1","1.6.0alpha3","1.6.0alpha2","1.6.0alpha1","1.5.0","1.4.0RC1","1.4.0beta1","1.3.1","1.3.0","1.3.0RC1","1.3.0beta2","1.3.0beta1","1.2.3","1.2.2","1.2.1","1.2.0","1.2.0alpha3","1.2.0alpha2","1.2.0alpha1","1.1.4","1.1.3","1.1.2","1.1.1","1.1.0","1.0.0","1.0.0RC0","1.0.0beta2","1.0.0beta1","1.0.0alpha2","1.0.0alpha1","0.6.3","0.6.2","0.6.1","0.6.0","0.5.1","0.5.0","0.4.1","0.4.0","0.3.1","0.3.0","0.2.0","0.1.5","0.1.4","0.1.3","0.1.2","0.1.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-12119.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N"}]}