Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-10061 EUVD-2025-27034GHSA-5866-fxhr-9hjf

Malformed $group Query May Cause MongoDB Server to Crash

Published Sep 5, 2025 · Updated Sep 5, 2025 · Assigned by mongodb

Description

An authorized user can cause a crash in the MongoDB Server through a specially crafted $group query. This vulnerability is related to the incorrect handling of certain accumulator functions when additional parameters are specified within the $group operation. This vulnerability could lead to denial of service if triggered repeatedly. This issue affects MongoDB Server v6.0 versions prior to 6.0.25, MongoDB Server v7.0 versions prior to 7.0.22, MongoDB Server v8.0 versions prior to 8.0.12 and MongoDB Server v8.1 versions prior to 8.1.2

Affected products

VendorProductAffectedFixed
MongoDB MongoDB Server 6.0 – < 6.0.25, 7.0 – < 7.0.22, 8.0 – < 8.0.12, 8.1 – < 8.1.2 6.0.25

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