Mongobleed: Critical Unauthenticated Memory Disclosure Vulnerability in MongoDB via zlib Compression
Vulnerability Disclosure · 44 sources · Updated 5mo ago · First seen Dec 23, 2025

A critical unauthenticated vulnerability (CVE-2025-14847) has been discovered in MongoDB Server, specifically related to the handling of zlib-compressed network traffic. This flaw allows remote attackers with network access to a MongoDB instance configured with compression enabled to trigger the server into returning uninitialized heap memory in its responses. The leaked memory may contain sensitive data, including fragments of previously processed information, internal state, or confidential values, and no authentication is required to exploit this issue.
The vulnerability affects a wide range of MongoDB versions, including 3.6.x through 8.2.x, with patches available in versions 4.4.30, 5.0.32, 6.0.27, 7.0.28, 8.0.17, and 8.2.3. The root cause lies in the way MongoDB processes malformed zlib-compressed frames, leading to a length mismatch during decompression and the inadvertent inclusion of uninitialized memory in server responses. Given MongoDB's prevalence in cloud environments and its frequent exposure to the internet, this vulnerability poses a significant risk to organizations relying on the database for sensitive data storage and application backends.
Why it matters
Impact assessment
CVE-2025-14847 (MongoBleed) is a high-impact, actively exploited unauthenticated memory disclosure flaw in self-hosted MongoDB Server deployments that have zlib network compression enabled. The primary risk is confidentiality loss: attackers can remotely harvest credentials, API keys, session tokens, cloud secrets, PII, and internal state from server memory, which can directly enable database compromise and follow-on intrusion.
Who is affected
- Organizations running self-hosted or on-premises MongoDB Server.
- Cloud-hosted MongoDB instances exposed to the internet or reachable from untrusted networks.
- Environments using affected MongoDB branches from 3.6 through 8.2.2.
- Legacy deployments on 3.6, 4.0, and 4.2 are especially exposed because no vendor patch is available.
- MongoDB Atlas is reported as patched before or at disclosure; risk is concentrated in self-managed deployments.
Severity and business impact
- Severe confidentiality impact from direct memory disclosure without authentication.
- Likely exposure includes database credentials, application secrets, cloud provider keys, tokens, logs, configuration fragments, and customer data.
- Secondary impact includes full database compromise, cloud account abuse, privilege escalation, incident response costs, regulatory exposure, and reputational damage.
- Patching alone is insufficient if exposure already occurred; leaked secrets must be treated as compromised.
Scope and exploitation status
- Exploitation in the wild is confirmed and CISA added the flaw to the KEV catalog.
- Public proof-of-concept code and automated tooling are available, lowering attacker effort and supporting mass scanning.
- Reported exposure ranges from roughly 70,000 to 87,000+ internet-facing vulnerable MongoDB servers, with some scans citing higher publicly accessible populations.
- Targeting appears broad and opportunistic, though any reachable internal instance is also at risk.


