Incorrect Type Conversion or Cast Affecting mongodb package, versions [,7.0.29)[8.0.0-alpha,8.0.18)[8.1.0-alpha,8.2.4)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (15th 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-UNMANAGED-MONGODB-15264780
  • published11 Feb 2026
  • disclosed10 Feb 2026
  • creditUnknown

Introduced: 10 Feb 2026

CVE-2026-25613  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade mongodb to version 7.0.29, 8.0.18, 8.2.4 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Type Conversion or Cast while query against a collection. An attacker can cause a segmentation fault and disrupt server availability by issuing a query against a collection that contains an invalid compound wildcard index.

CVSS Base Scores

version 4.0
version 3.1