What’s Vulnerable › Vulnerabilities

CVE-2025-3084: MongoDB Server may crash due to improper validation of explain command

Description

When run on commands with certain arguments set, explain may fail to validate these arguments before using them. This can lead to crashes in router servers. This affects MongoDB Server v5.0 prior to 5.0.31, MongoDB Server v6.0 prior to 6.0.20, MongoDB Server v7.0 prior to 7.0.16 and MongoDB Server v8.0 prior to 8.0.4

Affected products

How to fix

Upgrade to a fixed version: MongoDB 5.0.31, 6.0.20, 7.0.16, 8.0.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-3084 or the next vulnerability affects your stack