# CVE-2018-20802: Post-auth queries on compound index may crash mongod

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-11-23 · Modified: 2024-09-17
- Aliases: UBUNTU-CVE-2018-20802, USN-8064-1
- Record: https://cvemate.com/vulnerability/CVE-2018-20802 · JSON: https://cvemate.com/vulnerability/CVE-2018-20802/json

## Description

```text
A user authorized to perform database queries may trigger denial of service by issuing specially crafted queries with compound indexes affecting QueryPlanner. This issue affects MongoDB Server v3.6 versions prior to 3.6.9 and MongoDB Server v4.0 versions prior to 4.0.3.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.584%, percentile 76.413%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu mongodb (Ubuntu): \< 1:2.4.9-1ubuntu2+esm2 \| \< 1:2.6.10-0ubuntu1+esm2 \| \< 1:3.6.3-0ubuntu1.4+esm1
- mongodb inc mongodb server: ≥ 3.6, \< 3.6.9 \| ≥ 4.0, \< 4.0.3
- mongodb mongodb: ≥ 3.6.0, \< 3.6.9 \| ≥ 4.0.0, \< 4.0.3

## References

- <https://jira.mongodb.org/browse/SERVER-36993>
- <https://ubuntu.com/security/CVE-2018-20802>
- <https://www.cve.org/CVERecord?id=CVE-2018-20802>
- <https://ubuntu.com/security/notices/USN-8064-1>

---

Data as of 2026-12-05T13:56:33.534Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
