Malformed $group Query May Cause MongoDB Server to Crash (MongoDB Inc MongoDB Server)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.32 % · percentile 25 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mongodb
- NVD status
- Analyzed
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
Weaknesses (CWE)
- CWE-20 — Improper Input Validation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | mongodb |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · cna@mongodb.com (Secondary) |
European references
- ENISA EUVD · EUVD-2025-27034
- GCVE · GCVE-0-2025-10061
Affected configurations (NVD CPE)
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*≥ 6.0.0 < 6.0.25cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*≥ 7.0.0 < 7.0.22cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*≥ 8.0.0 < 8.0.12cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*≥ 8.1.0 < 8.1.2
Affected products
| Product | Versions |
|---|---|
| MongoDB Inc · MongoDB Server | affected 6.0 < 6.0.25 ; affected 7.0 < 7.0.22 ; affected 8.0 < 8.0.12 ; affected 8.1 < 8.1.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |