CVE-2025-7259 Affecting mongodb package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.28% (21st 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-UBUNTU1804-MONGODB-10664038
  • published26 Feb 2026
  • disclosed7 Jul 2025

Introduced: 7 Jul 2025

CVE-2025-7259  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:18.04 mongodb.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mongodb package and not the mongodb package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

An authorized user can issue queries with duplicate _id fields, that leads to unexpected behavior in MongoDB Server, which may result to crash. This issue can only be triggered by authorized users and cause Denial of Service. This issue affects MongoDB Server v8.1 version 8.1.0.