Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-14847

CVE-2025-14847: MongoDB Information Disclosure Vulnerability

CVE-2025-14847 is an information disclosure vulnerability in MongoDB that allows unauthenticated clients to read uninitialized heap memory. This article covers technical details, affected versions, and mitigation.

Published: March 11, 2026

CVE-2025-14847 Overview

CVE-2025-14847, also known as "MongoBleed," is a high-severity memory information disclosure vulnerability affecting MongoDB Server. The vulnerability exists in the handling of Zlib compressed protocol headers, where mismatched length fields allow an unauthenticated client to read uninitialized heap memory. This pre-authentication memory disclosure flaw can expose sensitive information stored in server memory without requiring any credentials.

Critical Impact

This vulnerability is actively exploited in the wild and has been added to the CISA Known Exploited Vulnerabilities catalog. Unauthenticated attackers can remotely extract sensitive data from MongoDB server heap memory, potentially exposing credentials, encryption keys, and other confidential information.

Affected Products

  • MongoDB Server v8.2 versions prior to 8.2.3
  • MongoDB Server v8.0 versions prior to 8.0.17
  • MongoDB Server v7.0 versions prior to 7.0.28
  • MongoDB Server v6.0 versions prior to 6.0.27
  • MongoDB Server v5.0 versions prior to 5.0.32
  • MongoDB Server v4.4 versions prior to 4.4.30
  • MongoDB Server v4.2 versions 4.2.0 and later (no patch available)
  • MongoDB Server v4.0 versions 4.0.0 and later (no patch available)
  • MongoDB Server v3.6 versions 3.6.0 and later (no patch available)

Discovery Timeline

  • 2025-12-19 - CVE-2025-14847 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2025-14847

Vulnerability Analysis

This vulnerability stems from improper length checking in the OP_COMPRESSED message handler within MongoDB Server. When processing Zlib-compressed protocol messages, the server fails to properly validate the relationship between the declared uncompressed size and the actual decompressed data length. This mismatch creates a condition where the server allocates a buffer based on one length value but reads data using a different, larger length value, resulting in out-of-bounds read access to uninitialized heap memory.

The vulnerability is classified under CWE-130 (Improper Handling of Length Parameter Inconsistency), which describes scenarios where software receives input with inconsistent length specifications that lead to memory safety violations.

Root Cause

The root cause lies in the MongoDB wire protocol's handling of compressed messages. The OP_COMPRESSED opcode allows clients to send compressed payloads with metadata indicating both the compressed and uncompressed sizes. The vulnerability occurs when the server trusts the client-supplied uncompressed length field without verifying it matches the actual size of the decompressed data from the Zlib stream. An attacker can craft a malicious OP_COMPRESSED message with an inflated uncompressed length value, causing the server to read beyond the legitimate decompressed data into adjacent heap memory regions.

Attack Vector

The attack vector is network-based and requires no authentication, making it particularly dangerous for internet-facing MongoDB instances. An attacker can exploit this vulnerability by:

  1. Establishing a TCP connection to the MongoDB port (default 27017)
  2. Sending a specially crafted OP_COMPRESSED message with mismatched length fields
  3. The server decompresses the payload and attempts to read the declared (inflated) length
  4. Uninitialized heap memory contents are included in the server's response
  5. The attacker receives portions of server memory potentially containing sensitive data

The pre-authentication nature of this vulnerability means attackers can extract memory contents without valid credentials. Depending on server activity and memory state, leaked data may include authentication credentials, session tokens, database content fragments, or cryptographic material.

Detection Methods for CVE-2025-14847

Indicators of Compromise

  • Unusual OP_COMPRESSED messages with length field discrepancies in MongoDB network traffic
  • Abnormal connection patterns from unknown sources sending malformed protocol messages
  • MongoDB server logs showing compression-related errors or unexpected disconnections
  • Network traffic analysis revealing responses larger than expected for compressed operations
  • Connection attempts from known malicious IP addresses associated with this exploit

Detection Strategies

  • Deploy network intrusion detection rules to identify malformed OP_COMPRESSED packets with mismatched length fields
  • Monitor MongoDB logs for decompression errors or protocol violations from unauthenticated sessions
  • Implement deep packet inspection on MongoDB wire protocol traffic at network boundaries
  • Use the Vicarius Detection Script to scan for vulnerable MongoDB instances
  • Enable MongoDB auditing to track connection attempts and protocol-level anomalies

Monitoring Recommendations

  • Configure alerting for MongoDB connections from untrusted networks or unexpected geographic locations
  • Monitor for reconnaissance activity targeting MongoDB default port 27017
  • Implement baseline analysis for MongoDB traffic volume to detect data exfiltration attempts
  • Review firewall logs for connection attempts to MongoDB from known exploit infrastructure
  • Correlate MongoDB access logs with threat intelligence feeds containing CVE-2025-14847 indicators

How to Mitigate CVE-2025-14847

Immediate Actions Required

  • Upgrade MongoDB Server to patched versions immediately: 8.2.3, 8.0.17, 7.0.28, 6.0.27, 5.0.32, or 4.4.30
  • For MongoDB versions 4.2, 4.0, and 3.6, plan urgent migration to supported versions as no patches are available
  • Restrict network access to MongoDB instances using firewall rules to allow only trusted IP addresses
  • Implement authentication requirements and disable anonymous access if not already configured
  • Review MongoDB logs for evidence of exploitation attempts prior to patching

Patch Information

MongoDB has released security patches addressing this vulnerability across supported versions. Organizations should apply the following minimum versions:

Version BranchPatched Version
v8.2.x8.2.3
v8.0.x8.0.17
v7.0.x7.0.28
v6.0.x6.0.27
v5.0.x5.0.32
v4.4.x4.4.30

Detailed patch information is available in the MongoDB Jira Ticket SERVER-115508. For additional mitigation guidance, refer to the Vicarius Mitigation Script.

Workarounds

  • Disable network compression by setting net.compression.compressors to none in the MongoDB configuration
  • Place MongoDB servers behind a reverse proxy or VPN to limit direct network exposure
  • Implement network segmentation to isolate MongoDB instances from untrusted networks
  • Use firewall rules to restrict MongoDB port access to application servers only
  • Enable TLS/SSL with client certificate authentication to add an authentication layer before protocol handling
bash
# MongoDB configuration to disable compression as a workaround
# Add to mongod.conf

net:
  compression:
    compressors: none
  bindIp: 127.0.0.1  # Restrict to localhost or trusted IPs only
  port: 27017

# Restart MongoDB after configuration change
# systemctl restart mongod

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechMongodb

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability71.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-130
  • Technical References
  • OpenWall Security Mailing List

  • SmartKeyss Blog on MongoBleed

  • Vicarius Detection Script for CVE-2025-14847

  • Vicarius Mitigation Script for CVE-2025-14847

  • CISA Known Exploited Vulnerability Catalog
  • Vendor Resources
  • MongoDB Jira Ticket
  • Related CVEs
  • CVE-2026-6231: MongoDB C Driver Validation Bypass Flaw

  • CVE-2024-1351: MongoDB TLS Certificate Validation Bypass

  • CVE-2021-20333: MongoDB Server Log Injection Vulnerability

  • CVE-2026-5170: MongoDB Server DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English