{"id":"CVE-2025-12119","published":"2025-11-18T20:21:08Z","modified":"2026-01-14T19:04:31Z","title":"Bulk write with options may read invalid memory","vendor":"MongoDB","product":"C Driver","tier":"tail","description":{"text":"A mongoc_bulk_operation_t may read invalid memory if large options are passed.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00246,"percentile":0.09601,"provenance":"source"},"cwes":[{"id":"CWE-825","name":"Expired Pointer Dereference"}],"references":[{"url":"https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.2","tags":[]},{"url":"https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.6","tags":[]},{"url":"https://github.com/mongodb/mongo-c-driver/releases/tag/2.1.2","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2026/01/msg00009.html","tags":[]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":1.92},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB","product":"C Driver","versions":[">= 1.9.0, <= 1.30.5",">= 2.0.0, <= 2.1.1"]},{"vendor":"MongoDB","product":"PHP Driver","versions":["<= 2.1.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-11-19T16:14:28.900742Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"mongodb/mongodb-extension","vulnerableRanges":["<1.21.2"],"patched":["1.21.2"],"from":["GHSA-mwcc-7vpp-xmv9"],"provenance":"source"}],"summary":{"text":"The MongoDB C Driver has a flaw in which a mongoc_bulk_operation_t may read invalid memory when large options are passed to a bulk write operation. An attacker with local access and no privileges, who requires no user interaction, could trigger this condition by supplying large options, with the potential for reading sensitive memory contents.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:20Z"},"euvd":{"id":"EUVD-2025-198092","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mongodb-c-driver-cve-2021-32050","parents":[{"from":"CVE-2021-32050","to":"CVE-2025-12119","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/LIBMONGOC_VERSION_CURRENT","src/libmongoc"],"commits":["https://github.com/mongodb/mongo-php-driver/commit/4495de8313c0d313e4dde906fc7aedf998ee3748","https://github.com/mongodb/mongo-php-driver/commit/fa5b43366407bc0e5b0a919ed374decd9022b2f9"],"basis":"rarely changed file"}]}]}}