Expired Pointer Dereference Affecting mongodb/mongodb-extension package, versions >=1.20.0, <1.21.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-MONGODBMONGODBEXTENSION-14054391
  • published20 Nov 2025
  • disclosed18 Nov 2025
  • creditUnknown

Introduced: 18 Nov 2025

NewCVE-2025-12119  (opens in a new tab)
CWE-825  (opens in a new tab)

How to fix?

Upgrade mongodb/mongodb-extension to version 1.21.2 or higher.

Overview

mongodb/mongodb-extension is a MongoDB driver extension

Affected versions of this package are vulnerable to Expired Pointer Dereference via mongoc_bulk_operation_t when large options are passed. An attacker can cause the application to read invalid memory.

CVSS Base Scores

version 4.0
version 3.1