Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-7259 EUVD-2025-20271GHSA-xg2f-3225-7hxr

Certain Queries with Duplicate _id Fields May Cause MongoDB Server to Crash

Published Jul 7, 2025 · Updated Jul 7, 2025 · Assigned by mongodb

Description

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.

Affected products

VendorProductAffectedFixed
MongoDB MongoDB Server 8.1 – ≤ 8.1.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS mongodb No fix yet —
Ubuntu Pro 18.04 LTS mongodb No fix yet —
Ubuntu Pro 16.04 LTS mongodb No fix yet —

Advisories 1

References