---
id: CVE-2025-12119
title: A mongoc_bulk_operation_t may read invalid memory if large options are passed.
summary: A mongoc_bulk_operation_t may read invalid memory if large options are passed.
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L'
cwe:
  - CWE-825
vendor: mongodb
product: c_driver
affected:
  - 'c_driver >= 1.9.0, < 1.30.6'
  - 'c_driver >= 2.0.0, < 2.1.2'
  - php_driver < 1.21.2
patched:
  - c_driver 2.1.2
  - php_driver 1.21.2
published: '2025-11-18'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T21:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12119'
references:
  - url: 'https://github.com/mongodb/mongo-c-driver/releases/tag/1.30.6'
    label: cna@mongodb.com
  - url: 'https://github.com/mongodb/mongo-c-driver/releases/tag/2.1.2'
    label: cna@mongodb.com
  - url: 'https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.2'
    label: cna@mongodb.com
  - url: 'https://lists.debian.org/debian-lts-announce/2026/01/msg00009.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00198
epssPercentile: 0.08807
ingestedAt: '2026-10-07T21:54:15.068Z'
---

## Overview

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

## Affected

- `c_driver >= 1.9.0, < 1.30.6`
- `c_driver >= 2.0.0, < 2.1.2`
- `php_driver < 1.21.2`

## Remediation

Upgrade past the affected range:

- `c_driver 2.1.2`
- `php_driver 1.21.2`
