MongoBleed CVE 2025 14847 Exploited in the Wild: Everything You Need to Know
HighExecutive Summary
CVE-2025-14847, also known as MongoBleed, is a high-severity unauthenticated information leak vulnerability in MongoDB that allows remote attackers to extract fragments of sensitive in-memory data. Exploitation has been observed in the wild, making it critical for organizations to patch urgently.
Vulnerability Details
- Affected Product: MongoDB Server versions 3.6.x through 8.2.x (specifically, versions prior to 4.4.30, 5.0.32, 6.0.27, 7.0.28, 8.0.17, and 8.2.3)
- Identifier: CVE-2025-14847
- CVSS Score: 8.7 (High)
- Exploitation Status: Actively Exploited
Risk & Impact
- Triage: Urgent patching is required due to the high severity and active exploitation.
- Attack Vector: An unauthenticated, remote attacker can send a specially crafted zlib-compressed message to trigger the vulnerability. This causes the server to return uninitialized heap memory.
- Ease of Exploit: The vulnerability has low attack complexity and can be exploited without user interaction. Public exploit code is available.
Action Plan
- Immediate Action: Upgrade MongoDB to patched versions 4.4.30, 5.0.32, 6.0.27, 7.0.28, 8.0.17, or 8.2.3 or later.
- Workaround: Disable zlib compression by starting `mongod` or `mongos` with a configuration that omits zlib. Other options are snappy and zstd.
- Detection: Monitor MongoDB command error logs for spikes in "Slow query" messages containing "incorrect BSON length in element with field name". Also, look for CPU and memory contention from malformed requests and large data requests from unauthenticated IPs.
Relevant professional terms
- Heap Memory
- A region of a computer's memory that is dynamically allocated and used by programs to store variables and data structures during runtime.
- Unauthenticated Vulnerability
- A security flaw that attackers can exploit without needing to log into the system, often leading to significant impact due to their broad reach.
Source: Wiz Blog
