Vulnerability · Published Nov 18, 2025 · Assigned by mongodb

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

Medium 6.8

In plain English

A medium-severity security flaw in C Driver from MongoDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 12% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.2%top 88.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12mongo-c-driver1.23.1-1+deb12u2DEBIAN-CVE-2025-12119
Debian:13mongo-c-driver1.30.4-1+deb13u1DEBIAN-CVE-2025-12119
Debian:14mongo-c-driver2.1.2-1DEBIAN-CVE-2025-12119
Packagistmongodb/mongodb-extension1.21.2GHSA-mwcc-7vpp-xmv9
Ubuntu:25.10mongo-c-driverno fix listedUBUNTU-CVE-2025-12119
Ubuntu:26.04:LTSmongo-c-driverno fix listedUBUNTU-CVE-2025-12119
Ubuntu:22.04:LTSphp-mongodbno fix listedUBUNTU-CVE-2025-12119
Ubuntu:24.04:LTSphp-mongodbno fix listedUBUNTU-CVE-2025-12119
Ubuntu:25.10php-mongodbno fix listedUBUNTU-CVE-2025-12119
Ubuntu:26.04:LTSphp-mongodbno fix listedUBUNTU-CVE-2025-12119
Ubuntu:26.10php-mongodbno fix listedUBUNTU-CVE-2025-12119

Affected products (as reported)

VendorProductVersions
MongoDB C Driver 1.9.0 – through 1.30.52.0.0 – through 2.1.1
MongoDB PHP Driver 0 – through 2.1.2

Weakness: CWE-825 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L

References