CVE-2025-12119 Bulk write with options may read invalid memory
An attacker can cause a denial of service by passing large options to bulk write operations in the MongoDB C Driver.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-12119?
CVE-2025-12119 is a medium-severity memory corruption vulnerability in MongoDB C Driver, published on 18 Nov 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
Weakness: CWE-825
Which versions are affected by CVE-2025-12119?
2 open source packages ship an affected version, including mongodb/mongodb-extension. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
mongodb/mongodb-extension Packagist | All versions | 1.21.2 |
mongodb/mongodb-extension Packagist | All versions | 1.21.2 |
Products include Mongodb C Driver, Mongodb Php Driver.
How do I fix CVE-2025-12119?
Upgrade mongodb/mongodb-extension to 1.21.2 or later.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-12119 being exploited?
There is no known exploitation of CVE-2025-12119 in the wild and no public exploit code.
Other vulnerabilities in MongoDB C Driver
- CVE-2026-93393 Heap overflow via oversized decrypted TLS record sequence in Windows Secure Channel stream
- CVE-2026-6691 MongoDB C Driver Cyrus SASL Canonicalization Buffer Overflow
- CVE-2026-84964 Heap corruption via OCSP request double free from crafted multi-URL certificate in TLS client
- CVE-2024-7553 Accessing Untrusted Directory May Allow Local Privilege Escalation
- CVE-2026-93395 Integer Underflow → Heap Out-of-Bounds Read in `bson_new_from_buffer()
Sources
Also known as DEBIAN-CVE-2025-12119, DLA-4438-1, GHSA-mwcc-7vpp-xmv9, JLSEC-2026-181, OESA-2025-2821, OESA-2025-2822 and 4 more.