Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-32040

26
FAUCET Score

CVE-2021-32040 describes a stack overflow vulnerability in MongoDB Server versions 4.2, 4.4, and 5.0, caused by excessively long aggregation pipelines with specific stages. This flaw allows an unauthenticated attacker to remotely trigger a Denial of Service (DoS) by crashing the MongoDB instance. Rated 7.5 HIGH on CVSS, the attack requires low complexity and no user interaction, but only impacts availability. There is currently no public exploit code, active exploitation, or significant community discussion surrounding this vulnerability.

Impacted Technologies

VendorProductVersion(s)CPE
>= 4.2.0, < 4.2.16CPE matchmatch criteria
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
>= 4.4.0, < 4.4.11CPE matchmatch criteria
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.0.4CPE matchmatch criteria
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

6.5MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
Exploitability Score
2.8
Impact Score
3.6
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.97%
Probability of exploitation in next 30 days
EPSS Percentile
78.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0197 is in the 62nd percentile among its peer group of 51,553 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Vendor Patches (1)

redhatend of lifevia redhat_api
Product: Red Hat Update Infrastructure 3 for Cloud ProvidersFixed in: mongodb

Vendor Advisories (1)

redhatCVE-2021-32040Moderate

mongodb: Pipeline Stack-based Overflow

Apr 12, 2022

References

jira.mongodb.org / browse/SERVER-58203
Issue TrackingPatchVendor Advisory
jira.mongodb.org / browse/SERVER-59299
Issue TrackingPatchVendor Advisory
jira.mongodb.org / browse/SERVER-60218
Issue TrackingPatchVendor Advisory
security.netapp.com / advisory/ntap-20220609-0005
Third Party Advisory