
CVE-2025-14847
MongoBleed
🍃 MongoBleed — MongoDB Server Memory Disclosure Vulnerability
CVE-2025-14847, known as MongoBleed, is a security vulnerability affecting MongoDB Server's handling of compressed network messages. Under vulnerable conditions, an unauthenticated remote attacker may be able to disclose portions of uninitialized heap memory, potentially exposing sensitive information.
| Attribute | Details |
|---|---|
| CVE ID | CVE-2025-14847 |
| Name | MongoBleed |
| Vendor | MongoDB |
| Product | MongoDB Server |
| Vulnerability Type | Memory Disclosure |
| Attack Vector | Network |
| Authentication | May not be required |
| Primary Impact | Confidentiality and information exposure |
The vulnerability involves the handling of compressed network messages, including messages using zlib compression. Under certain conditions, improper memory handling can result in the disclosure of uninitialized heap memory.
Potentially exposed information depends on the contents of the affected server's memory and the conditions under which the vulnerability is triggered.
Remote Client
|
v
Compressed Network Message
|
v
MongoDB Server
|
v
Vulnerable Memory Handling
|
v
Potential Heap Memory Disclosure
|
v
Possible Sensitive Information Exposure
This diagram illustrates the general vulnerability concept and is not a verified exploit sequence.
Potential consequences include:
MongoDB releases in multiple version branches have been affected. Refer to the official security advisory to confirm the affected versions and corresponding fixes for your deployment.
Consult the MongoDB Security page for authoritative remediation guidance.
mongod --version
sudo systemctl status mongod
sudo ss -lntp | grep ':27017'
Compare the installed version with the vendor's advisory. An exposed port alone does not establish that a system is vulnerable.
This repository is intended for educational purposes, defensive security research, and authorized security testing.
Only test systems you own or have explicit permission to assess. Verify technical details and remediation guidance against official vendor documentation.
MongoBleed — Understand the risk. Verify exposure. Apply the fix.