CVE-2025-10061

Malformed $group Query May Cause MongoDB Server to Crash

State
Published
Severity
6.5 Medium
Published
Sep 5, 2025
Updated
Sep 5, 2025
Reserved
Sep 5, 2025

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:Hmongodb

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
MongoDB ServerMongoDB Inc
  • 6.0 to before 6.0.25Affected
  • 7.0 to before 7.0.22Affected
  • 8.0 to before 8.0.12Affected
  • 8.1 to before 8.1.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.