CVE-2025-12119
Bulk write with options may read invalid memory
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
6.9
Bulk write with options may read invalid memory
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
- Record
CVE-2025-12119- CVSS 4.0
- 6.9 Medium
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 - CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L - Weakness
- CWE-825
- Updated
- 2026-11-02
EUVDEUVD-2025-198092
6.9
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
- Record
EUVD-2025-198092- CVSS 4.0
- 6.9 Medium
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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-mwcc-7vpp-xmv9
6.9
MongoDB driver extension affected by mongoc_bulk_operation_t's read of invalid memory
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
- Record
GHSA-mwcc-7vpp-xmv9- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L - Weakness
- CWE-825
- Updated
- 2026-11-02
NVD
6.9
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
- Record
CVE-2025-12119- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L - CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-825
- Updated
- 2026-11-02
OSV
6.9
Bulk write with options may read invalid memory
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
- Record
CVE-2025-12119- CVSS 4.0
- 6.9 Medium
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 - Weakness
- CWE-825
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-12119
3.3
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
- Record
DEBIAN-CVE-2025-12119- CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
Show 9 moreShow less
OSVGHSA-mwcc-7vpp-xmv9
6.9
MongoDB driver extension affected by mongoc_bulk_operation_t's read of invalid memory
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
- Record
GHSA-mwcc-7vpp-xmv9- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L - Weakness
- CWE-825
- Updated
- 2026-11-02
OSVJLSEC-2026-181
6.9
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
- Record
JLSEC-2026-181- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVOESA-2025-2821
6.9
mongo-c-driver security update
Security Fix(es):
A mongoc_bulk_operation_t may read invalid memory if large options are passed.(CVE-2025-12119)
- Record
OESA-2025-2821- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVOESA-2025-2822
6.9
mongo-c-driver security update
Security Fix(es):
A mongoc_bulk_operation_t may read invalid memory if large options are passed.(CVE-2025-12119)
- Record
OESA-2025-2822- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVOESA-2025-2823
6.9
mongo-c-driver security update
Security Fix(es):
A mongoc_bulk_operation_t may read invalid memory if large options are passed.(CVE-2025-12119)
- Record
OESA-2025-2823- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVOESA-2025-2824
6.9
mongo-c-driver security update
Security Fix(es):
A mongoc_bulk_operation_t may read invalid memory if large options are passed.(CVE-2025-12119)
- Record
OESA-2025-2824- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVOESA-2025-2890
6.9
mongo-c-driver security update
Security Fix(es):
A mongoc_bulk_operation_t may read invalid memory if large options are passed.(CVE-2025-12119)
- Record
OESA-2025-2890- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVOESA-2026-1745
6.9
mongo-c-driver security update
mongo-c-driver is a project that includes two libraries: libmongoc, a client library written in C for MongoDB. libbson, a library providing useful routines related to building, parsing, and iterating BSON documents.
Security Fix(es):
A mongoc_bulk_operation_t may read invalid memory if large options are passed.(CVE-2025-12119)
A compromised third party cloud server or man-in-the-middle attacker could send a malformed HTTP response and cause a crash in applications using the MongoDB C driver.(CVE-2026-4359)
- Record
OESA-2026-1745- CVSS 4.0
- 6.9 Medium
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-12119
6.9
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
- Record
UBUNTU-CVE-2025-12119- CVSS 4.0
- 6.9 Medium
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 - CVSS 3.1
- 3.3 Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - CVSS 3.1
- 6.8 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mongodb/mongodb-extensionPackagist |
before 1.21.2 | 1.21.2 |
mongo-c-driverDebian:12 |
before 1.23.1-1+deb12u2, plus listed versions 1.23.1-11.23.1-1+deb12u1 |
1.23.1-1+deb12u2 |
mongo-c-driverDebian:13 |
before 1.30.4-1+deb13u1, plus listed versions 1.30.4-1 |
1.30.4-1+deb13u1 |
mongo-c-driverDebian:14 |
before 2.1.2-1, plus listed versions 1.30.4-12.0.2-12.1.0-12.1.1-1 |
2.1.2-1 |
mongo-c-driverDebian:11 |
before 1.17.6-1+deb11u2, plus listed versions 1.17.6-11.17.6-1+deb11u1 |
1.17.6-1+deb11u2 |
mongodb/mongodb-extensionPackagist |
before 1.21.2, plus listed versions 0.1.00.1.10.1.20.1.30.1.4 Show 45 moreShow less0.1.50.2.00.3.00.3.10.4.00.4.10.5.00.5.10.6.00.6.10.6.20.6.31.0.01.0.0RC01.0.0alpha11.0.0alpha21.0.0beta11.0.0beta21.0.11.1.01.1.11.1.101.1.21.1.31.1.41.1.51.1.61.1.71.1.81.1.91.2.01.2.0alpha11.2.0alpha21.2.0alpha31.2.11.2.101.2.111.2.21.2.31.2.41.2.51.2.61.2.71.2.81.2.9 |
1.21.2 |
MongoC_jllJulia |
before 1.30.8+0 | 1.30.8+0 |
mongo-c-driveropenEuler:22.03-LTS-SP3 |
before 1.30.6-1.oe2203sp3 | 1.30.6-1.oe2203sp3 |
mongo-c-driveropenEuler:22.03-LTS-SP4 |
before 1.30.6-1.oe2203sp4 | 1.30.6-1.oe2203sp4 |
mongo-c-driveropenEuler:24.03-LTS |
before 1.30.6-1.oe2403 | 1.30.6-1.oe2403 |
Show 16 moreShow less
| Package | Affected | Fixed |
|---|---|---|
mongo-c-driveropenEuler:24.03-LTS-SP1 |
before 1.30.6-1.oe2403sp1 | 1.30.6-1.oe2403sp1 |
mongo-c-driveropenEuler:24.03-LTS-SP2 |
before 1.30.6-1.oe2403sp2 | 1.30.6-1.oe2403sp2 |
mongo-c-driveropenEuler:20.03-LTS-SP4 From an advisory covering 2 CVEs |
before 1.27.4-2.oe2003sp4 | 1.27.4-2.oe2003sp4 |
php-mongodbUbuntu:16.04:LTS |
All versions, plus listed versions 1.1.2-2~ubuntu11.1.5-1~build1 |
None known |
php-mongodbUbuntu:18.04:LTS |
All versions, plus listed versions 1.2.3-1build11.3.4-1build1 |
None known |
mongo-c-driverUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 1.15.0-11.15.1-11.15.2-11.16.0-11.16.1-11.16.1-1build11.16.1-1build21.16.1-1ubuntu0.1~esm1 |
None known |
php-mongodbUbuntu:20.04:LTS |
All versions, plus listed versions 1.5.5-1build11.6.1-41.6.1-4build1 |
None known |
php-mongodbUbuntu:22.04:LTS |
All versions, plus listed versions 1.9.0+1.7.5-2build21.11.1+1.9.2+1.7.5-41.12.0+1.9.2+1.7.5-31.12.0+1.9.2+1.7.5-4 |
None known |
mongo-c-driverUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 1.18.0-11.19.1-11.19.2-11.20.0-11.20.0-1build1 Show 4 moreShow less1.20.1-11.21.0-11.21.0-1build11.21.0-1ubuntu0.1~esm1 |
None known |
php-mongodbUbuntu:24.04:LTS |
All versions, plus listed versions 1.15.0+1.11.1+1.9.2+1.7.5-1build11.15.0+1.11.1+1.9.2+1.7.5-1ubuntu11.15.0+1.11.1+1.9.2+1.7.5-1ubuntu21.15.0+1.11.1+1.9.2+1.7.5-1ubuntu3 |
None known |
mongo-c-driverUbuntu:Pro:24.04:LTS |
All versions, plus listed versions 1.24.3-11.24.4-11.25.1-11.25.2-11.25.4-1 Show 4 moreShow less1.26.0-11.26.0-1.1ubuntu11.26.0-1.1ubuntu21.26.0-1.1ubuntu2+esm1 |
None known |
mongo-c-driverUbuntu:25.10 |
All versions, plus listed versions 1.30.2-11.30.4-1ubuntu1 |
None known |
php-mongodbUbuntu:25.10 |
All versions, plus listed versions 1.21.0-12.0.0-12.1.0-1 |
None known |
php-mongodbUbuntu:26.10 |
All versions, plus listed versions 2.1.7-0ubuntu12.1.7-0ubuntu2 |
None known |
mongo-c-driverUbuntu:26.04:LTS |
All versions, plus listed versions 1.30.4-1ubuntu12.2.0-12.2.1-12.2.2-1 |
None known |
php-mongodbUbuntu:26.04:LTS |
All versions, plus listed versions 2.1.0-12.1.7-0ubuntu1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-12119 is a medium vulnerability (CVSS 6.9) in Mongodb C Driver, published November 18, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.21%, the 11th percentile. Fixed in mongodb/mongodb-extension 1.21.2.
References
github.com/mongodb/mongo-php-driver/releases/tag/1.21.2
github.com/mongodb/mongo-c-driver/releases/tag/1.30.6
github.com/mongodb/mongo-c-driver/releases/tag/2.1.2
lists.debian.org/debian-lts-announce/2026/01/msg00009.html
nvd.nist.gov/vuln/detail/CVE-2025-12119
github.com/mongodb/mongo-php-driver/commit/fa5b43366407bc0e5b0a919ed374decd9022b2f9
Show 16 moreShow less
jira.mongodb.org/browse/PHPC-2637
github.com/mongodb/mongo-c-driver/commit/775998df7c67
github.com/advisories/GHSA-mwcc-7vpp-xmv9
github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12119.json
github.com/mongodb/mongo-c-driver
github.com/mongodb/mongo-php-driver
security-tracker.debian.org/tracker/CVE-2025-12119
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2821
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2822
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2823
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2824
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-2890
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-1745
nvd.nist.gov/vuln/detail/CVE-2026-4359
ubuntu.com/security/CVE-2025-12119
cve.org/CVERecord?id=CVE-2025-12119
Left out here: 4 versions. The JSON record has them.