CVE-2025-14847
9.5 CISA KEVMongoDB · MongoDB Server
An unauthenticated memory disclosure vulnerability in MongoDB Server, known as MongoBleed, allows remote attackers to read uninitialized heap memory via mismatched Zlib protocol header length fields.
Executive summary
This critical vulnerability, CVE-2025-14847, is being actively exploited in the wild and allows unauthenticated remote attackers to exfiltrate sensitive data from MongoDB Server memory.
Vulnerability
This is a memory disclosure flaw caused by improper handling of length parameter inconsistencies in Zlib compressed protocol headers. The vulnerability allows an unauthenticated client to trigger a read of uninitialized heap memory, potentially exposing sensitive information such as credentials or API keys.
Business impact
The exploitation of this vulnerability poses a severe risk to data confidentiality, as attackers can extract sensitive information directly from the server memory. With a CVSS score of 9.5, this is a critical security event that could lead to widespread unauthorized access to database contents and broader infrastructure compromise.
Remediation
Immediate Action: Update all affected MongoDB Server instances to the patched versions: 8.2.3, 8.0.17, 7.0.28, 6.0.27, 5.0.32, or 4.4.30 immediately.
Proactive Monitoring: Review database access logs and network traffic for anomalous patterns or spikes in connection requests that may indicate exploitation attempts.
Compensating Controls: Implement strict network access controls to limit access to MongoDB ports, and deploy a Web Application Firewall (WAF) or protocol-aware inspection tool to identify and block malformed Zlib compressed protocol headers.
Exploitation status
Public Exploit Available: Yes, a Metasploit module exists and multiple public proof-of-concept repositories are available on GitHub.
Analyst recommendation
Given the confirmed active exploitation and the critical nature of this memory disclosure vulnerability, immediate patching is required. Organizations must prioritize the update of all exposed MongoDB instances to the specified secure versions to prevent potential data exfiltration and credential theft.