Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. mongodb/mongodb-extension
  4. ›
  5. CVE-2025-12119

CVE-2025-12119: MongoDB driver extension affected by mongoc_bulk_operation_t's read of invalid memory

November 19, 2025 (updated March 24, 2026)

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

References

  • github.com/advisories/GHSA-mwcc-7vpp-xmv9
  • github.com/mongodb/mongo-c-driver/commit/775998df7c67
  • github.com/mongodb/mongo-c-driver/releases/tag/1.30.6
  • github.com/mongodb/mongo-c-driver/releases/tag/2.1.2
  • github.com/mongodb/mongo-php-driver
  • github.com/mongodb/mongo-php-driver/commit/fa5b43366407bc0e5b0a919ed374decd9022b2f9
  • github.com/mongodb/mongo-php-driver/releases/tag/1.21.2
  • jira.mongodb.org/browse/PHPC-2637
  • lists.debian.org/debian-lts-announce/2026/01/msg00009.html
  • nvd.nist.gov/vuln/detail/CVE-2025-12119

Code Behaviors & Features

Detect and mitigate CVE-2025-12119 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.21.2

Fixed versions

  • 1.21.2

Solution

Upgrade to version 1.21.2 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-825: Expired Pointer Dereference

Source file

packagist/mongodb/mongodb-extension/CVE-2025-12119.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:23 +0000.