Bulk write with options may read invalid memory
Priority LOW 30CWE-825Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
A mongoc_bulk_operation_t may read invalid memory if large options are passed.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00212 11th percentileScored 2026-11-07
Fix Fixed mongodb/mongodb-extension (Packagist): 1.21.2
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MongoDB | C Driver | 1.9.0 – 1.30.5; 2.0.0 – 2.1.1 | — | No fix listed | CNA |
| MongoDB | PHP Driver | up to 2.1.2 | — | No fix listed | CNA |
| — | mongodb/mongodb-extension (Packagist) | before 1.21.2 | 1.21.2 | Patch available | GHSA-mwcc-7vpp-xmv9 |
Remediation
- Fix · GHSA-mwcc-7vpp-xmv9 mongodb/mongodb-extension (Packagist) Fixed in 1.21.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-12119
- 2026-10-03 Alias added: GHSA-mwcc-7vpp-xmv9
References
Other 8
- 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
- https://github.com/mongodb/mongo-c-driver/commit/775998df7c67
- https://github.com/mongodb/mongo-php-driver/commit/fa5b43366407bc0e5b0a919ed374decd9022b2f9
- https://github.com/mongodb/mongo-php-driver
- https://jira.mongodb.org/browse/PHPC-2637
- https://lists.debian.org/debian-lts-announce/2026/01/msg00009.html
More MongoDB C Driver vulnerabilities
- TI-2026-62966 Heap overflow via oversized decrypted TLS record sequence in Windows Secure Channel stream CVSS 4.0CRITICAL 9.2
- TI-2026-05870 MongoDB C Driver Cyrus SASL Canonicalization Buffer Overflow CVSS 4.0HIGH 8.6
- TI-2026-62968 Integer Underflow → Heap Out-of-Bounds Read in `bson_new_from_buffer() CVSS 4.0MEDIUM 6.9
- TI-2024-07001 Accessing Untrusted Directory May Allow Local Privilege Escalation CVSS 3.1HIGH 7.8
- TI-2026-58387 Heap corruption via OCSP request double free from crafted multi-URL certificate in TLS client CVSS 4.0HIGH 8.2
- TI-2023-00414 MongoDB client C Driver may infinitely loop when validating certain BSON input data CVSS 3.1HIGH 7.5
Sources
- CVE-2025-12119 · CVE Program
- CVE-2025-12119 · NVD
- FIRST EPSS
- GHSA-mwcc-7vpp-xmv9 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences