Skip to main content
Mallory
← Back to News
actively-exploited-vulnerabilityproof-of-concept-releaseinternet-exposed-servicewidely-deployed-product-advisory

MongoBleed Flaw in MongoDB Leaks Heap Memory and Faces Active Exploitation

Active Exploitation · 2 sources · Updated 4mo ago · First seen Jan 8, 2026

MongoBleed Flaw in MongoDB Leaks Heap Memory and Faces Active Exploitation

MongoDB patched a high-severity information disclosure vulnerability, CVE-2025-14847 or MongoBleed, that allows a remote unauthenticated attacker to read sensitive heap memory from vulnerable servers. The flaw affects OP_COMPRESSED messages using zlib: by manipulating the BSON uncompressedSize field, an attacker can make MongoDB allocate an oversized buffer without validating the claimed length, which can cause the server to return uninitialized memory. Researchers said the leak can expose cleartext passwords, credentials, API keys, and other secrets, and can be amplified when a malformed BSON object omits a null terminator, causing MongoDB to continue parsing memory until a null byte is found and include leaked contents in an error response.

The vulnerability has been reported as actively exploited, and public proof-of-concept code is available. Affected releases include MongoDB Server 8.2 before 8.2.3, 8.0 before 8.0.17, 7.0 before 7.0.28, 6.0 before 6.0.27, 5.0 before 5.0.32, 4.4 before 4.4.30, and all versions of 4.2, 4.0, and 3.6. Defenders were urged to upgrade immediately, disable zlib request compression until patching is complete, restrict Internet exposure of TCP port 27017, review logs for exploitation attempts, and rotate passwords and cryptographic material that may have been exposed. Researchers also warned that internet-scale exposure could be significant, citing tens of thousands to more than 200,000 internet-accessible MongoDB instances identified by scanning services.

Why it matters

Impact assessment

MongoBleed, tracked as CVE-2025-14847, affects MongoDB Server deployments across multiple major release lines and enables remote unauthenticated disclosure of heap memory. The impact is severe because exposed memory can contain cleartext passwords, credentials, API keys, and other secrets, creating immediate risk of follow-on compromise, data exposure, and reputational damage.

The exposure scope is potentially broad due to large numbers of internet-accessible MongoDB instances and the flaw's network-reachable nature over the default MongoDB service port. Exploitation is reported in the wild and public proof-of-concept code is available, which materially raises short-term risk for any unpatched or internet-exposed deployment.

Affected populations and products

  • MongoDB Server 8.2 before 8.2.3
  • MongoDB Server 8.0 before 8.0.17
  • MongoDB Server 7.0 before 7.0.28
  • MongoDB Server 6.0 before 6.0.27
  • MongoDB Server 5.0 before 5.0.32
  • MongoDB Server 4.4 before 4.4.30
  • All MongoDB Server 4.2 versions
  • All MongoDB Server 4.0 versions
  • All MongoDB Server 3.6 versions

Severity and business consequences

  • Remote unauthenticated access path increases likelihood of opportunistic exploitation.
  • Information disclosure can expose secrets that enable lateral movement, database takeover, cloud abuse, or application compromise.
  • Operational impact includes emergency patching, credential rotation, incident review, and possible service reconfiguration.
  • Reputational and regulatory impact is possible if leaked memory contains customer data or authentication material.

Scope and exploitation status

  • Active exploitation is reported.
  • Public proof-of-concept exploit code exists.
  • Internet-scale exposure may be significant:
    • Shodan reportedly observed more than 213,000 internet-exposed MongoDB instances.
    • Censys reportedly observed more than 87,000 internet-exposed MongoDB instances.
    • Researchers also cited tens of thousands to more than 200,000 exposed instances overall.
This is being exploited nowSee which actors are running it and whether you're in range.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Dec 30, 2025 – Jan 8, 2026
  1. Jan 8, 202611mo ago

    Public reporting says MongoBleed is actively exploited and PoC code exists

    CSIRT.SK reported that CVE-2025-14847 was being actively exploited and that public proof-of-concept exploit code was available. The notice also recommended immediate mitigation steps including upgrading, disabling zlib request compression, restricting Internet exposure, reviewing logs, and rotating potentially exposed secrets.

    MongoBleed: aktívne zneužívaná zraniteľnosť MongoDB Server umožňuje čítať pamäť | CSIRT.SK
  2. Jan 8, 202611mo ago

    MongoDB patches CVE-2025-14847 across supported server versions

    MongoDB Server released fixes for the high-severity information disclosure flaw CVE-2025-14847 (MongoBleed), which allows remote unauthenticated attackers to leak heap memory by abusing OP_COMPRESSED messages with a manipulated uncompressedSize field. Patched versions cited are 8.2.3, 8.0.17, 7.0.28, 6.0.27, 5.0.32, and 4.4.30, while 4.2, 4.0, and 3.6 are affected without listed fixes.

    MongoBleed: aktívne zneužívaná zraniteľnosť MongoDB Server umožňuje čítať pamäť | CSIRT.SK
  3. Dec 30, 202511mo ago

    Akamai details MongoBleed memory leak mechanics and exposure risk

    Akamai published technical analysis explaining that MongoBleed stems from MongoDB trusting a forged BSON uncompressedSize value, causing oversized buffer allocation and possible disclosure of uninitialized heap memory. The write-up said malformed BSON without a null terminator can amplify leakage and noted large internet exposure estimates from Shodan and Censys.

    CVE-2025-14847: All You Need to Know About MongoBleed | Akamai
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Vulnerabilities

1 linked

Affected products

1 linked
Mongodb Server
Do you run this?Correlate live exploitation activity against the software you actually run, and see where you're exposed.
See Who's Exploiting This
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.