MediumGHSA-mwcc-7vpp-xmv9CVE-2025-12119

MongoDB driver extension affected by mongoc_bulk_operation_t's read of invalid memory

Published 19 Nov 2025 · Updated 24 Mar 2026

Is your project on an affected mongodb/mongodb-extension?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.21.2
Fixed in
1.21.2
Update to the fixed version for your release line, for example:composer require mongodb/mongodb-extension:^1.21.2

Details

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

Is GHSA-mwcc-7vpp-xmv9 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected mongodb/mongodb-extension, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.