Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2018-20803
MongoDB vulnerability analysis and mitigation

Overview

CVE-2018-20803 is a denial of service vulnerability affecting MongoDB Server that was discovered in 2018. The vulnerability affects multiple versions of MongoDB Server including v4.0 versions prior to 4.0.5, v3.6 versions prior to 3.6.10, and v3.4 versions prior to 3.4.19. The issue was assigned a CVSS v3.1 base score of 6.5 (Medium severity) (NVD).

Technical details

The vulnerability is classified as CWE-835 (Loop with Unreachable Exit Condition - 'Infinite Loop'). When an authorized user performs specially crafted database queries, it can cause the system to enter an infinite loop during mathematics processing while retaining locks. The vulnerability has a CVSS v3.1 vector of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating network accessibility, low attack complexity, and requiring low privileges (MongoDB Issue).

Impact

The primary impact of this vulnerability is denial of service. When successfully exploited, the vulnerability can cause the database to become unresponsive due to infinite loops in mathematics processing while maintaining locks, potentially affecting system availability (NVD).

Exploitability

The vulnerability requires an attacker to be an authorized user with permissions to perform database queries. The attack can be executed remotely over the network with low attack complexity (NVD).

Mitigation and workarounds

The vulnerability has been fixed in MongoDB Server versions 4.0.5, 3.6.10, and 3.4.19. Users are advised to upgrade to these or later versions to mitigate the vulnerability (MongoDB Issue).

Additional resources


SourceThis report was generated using AI

Related MongoDB vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-82075HIGH8.7
  • MongoDB logoMongoDB
  • mongod-8.3
NoYesSep 08, 2026
CVE-2026-89099HIGH7.7
  • MongoDB logoMongoDB
  • cpe:2.3:a:mongodb:mongodb
NoYesSep 11, 2026
CVE-2026-82076HIGH7.1
  • MongoDB logoMongoDB
  • mongod-7.0
NoYesSep 08, 2026
CVE-2026-82074HIGH7.1
  • MongoDB logoMongoDB
  • mongodb
NoYesSep 08, 2026
CVE-2026-88035MEDIUM5.7
  • MongoDB logoMongoDB
  • mongodb
NoYesSep 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management