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-0755

CVE-2025-0755: MongoDB Libbson Buffer Overflow Vulnerability

CVE-2025-0755 is a buffer overflow vulnerability in MongoDB Libbson that can cause segmentation faults and application crashes. This article covers the technical details, affected versions, security impact, and mitigation.

Updated: January 22, 2026

CVE-2025-0755 Overview

CVE-2025-0755 is a heap-based buffer overflow vulnerability affecting the MongoDB C driver library (libbson). The various bson_append functions in the library are susceptible to buffer overflow when performing operations that could result in a final BSON document exceeding the maximum allowable size (INT32_MAX). Successful exploitation results in a segmentation fault and potential application crash, causing a denial of service condition.

Critical Impact

This vulnerability enables remote attackers to crash applications using the affected MongoDB C driver library by crafting malicious input that triggers a heap-based buffer overflow, leading to denial of service.

Affected Products

  • MongoDB libbson versions prior to 1.27.5
  • MongoDB Server v8.0 versions prior to 8.0.1
  • MongoDB Server v7.0 versions prior to 7.0.16

Discovery Timeline

  • 2025-03-18 - CVE-2025-0755 published to NVD
  • 2025-11-03 - Last updated in NVD database

Technical Details for CVE-2025-0755

Vulnerability Analysis

This heap-based buffer overflow (CWE-122) vulnerability exists in the MongoDB C driver library's BSON document handling functions. The bson_append family of functions fails to properly validate the cumulative size of BSON documents being constructed. When document operations would cause the resulting BSON document to exceed INT32_MAX (2,147,483,647 bytes), the buffer overflow occurs without proper boundary checking.

The vulnerability is exploitable over the network without requiring authentication or user interaction, making it accessible to unauthenticated remote attackers. The impact is limited to availability, as the overflow results in a segmentation fault that crashes the affected application rather than allowing arbitrary code execution.

Root Cause

The root cause lies in insufficient size validation within the bson_append functions. When multiple append operations are performed on a BSON document, the library does not adequately verify that the cumulative document size remains within the INT32_MAX boundary. This missing bounds check allows memory to be written beyond allocated buffer boundaries, triggering a segmentation fault.

Attack Vector

The attack vector is network-based, requiring no privileges or user interaction. An attacker can exploit this vulnerability by:

  1. Sending specially crafted requests to an application using the vulnerable libbson library
  2. Constructing input that causes multiple BSON append operations
  3. Triggering operations that would result in a BSON document exceeding INT32_MAX bytes
  4. Causing the heap-based buffer overflow and subsequent application crash

The vulnerability affects applications that process untrusted BSON data or allow users to construct large BSON documents through API interactions.

Detection Methods for CVE-2025-0755

Indicators of Compromise

  • Unexpected application crashes with segmentation fault signals in MongoDB-related processes
  • Core dumps showing crashes in bson_append family functions within the libbson library
  • Memory access violations in processes linked against vulnerable libbson versions
  • Repeated service restarts due to crashes in MongoDB client applications

Detection Strategies

  • Monitor system logs for segmentation fault events in applications using MongoDB C driver
  • Implement application crash monitoring for services utilizing libbson
  • Deploy memory safety monitoring tools to detect heap overflow attempts
  • Use runtime application self-protection (RASP) solutions to identify abnormal memory access patterns

Monitoring Recommendations

  • Configure centralized logging to capture crash events from MongoDB client applications
  • Set up alerts for abnormal BSON document sizes in application telemetry
  • Monitor for unusual patterns in MongoDB connection attempts that could indicate exploitation attempts
  • Implement SentinelOne endpoint protection to detect and alert on exploitation behavior

How to Mitigate CVE-2025-0755

Immediate Actions Required

  • Upgrade libbson to version 1.27.5 or later immediately
  • Update MongoDB Server v8.0 installations to version 8.0.1 or later
  • Update MongoDB Server v7.0 installations to version 7.0.16 or later
  • Review and inventory all applications using the MongoDB C driver library

Patch Information

MongoDB has released patches addressing this vulnerability. Updated versions include:

  • libbson: Version 1.27.5 and later include the fix
  • MongoDB Server 8.0: Version 8.0.1 and later are patched
  • MongoDB Server 7.0: Version 7.0.16 and later are patched

For detailed patch information, refer to the MongoDB C Driver Issue (CDRIVER-5601) and MongoDB Server Issue (SERVER-94461). Debian users should also review the Debian LTS Security Announcements for distribution-specific updates.

Workarounds

  • Implement input validation to limit the size of BSON documents before processing
  • Deploy application-level controls to reject requests that could result in excessively large documents
  • Use network segmentation to limit exposure of vulnerable applications to untrusted networks
  • Consider deploying a Web Application Firewall (WAF) to filter malicious requests targeting MongoDB endpoints
bash
# Verify installed libbson version
pkg-config --modversion libbson-1.0

# Check MongoDB Server version
mongod --version

# Update libbson on Debian/Ubuntu systems
sudo apt update && sudo apt install libbson-1.0-0

# Update MongoDB Server
sudo apt update && sudo apt install mongodb-org

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechMongodb

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.17%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-122
  • Technical References
  • Debian LTS Security Announcement

  • Debian LTS Security Announcement
  • Vendor Resources
  • MongoDB C Driver Issue

  • MongoDB Server Issue
  • Related CVEs
  • CVE-2025-14911: MongoDB GridFS Buffer Overflow Flaw

  • CVE-2026-6231: MongoDB C Driver Validation Bypass Flaw

  • CVE-2026-5170: MongoDB Server DoS Vulnerability

  • CVE-2026-4148: MongoDB Use-After-Free 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