CVE-2025-0755 in Mongodb and 1 more product
The various bson_append functions in the MongoDB C driver library may be susceptible to buffer overflow when performing operations that could result in a final BSON document which exceeds the maximum allowable size (INT32_MAX), resulting in a segmentation fault and possible application crash. This issue affected lib...
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The various bson_append functions in the MongoDB C driver library may be susceptible to buffer overflow when performing operations that could result in a final BSON document which exceeds the maximum allowable size (INT32_MAX), resulting in a segmentation fault and possible application crash. This issue affected libbson versions prior to 1.27.5, MongoDB Server v8.0 versions prior to 8.0.1 and MongoDB Server v7.0 versions prior to 7.0.16
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-0755 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-041680-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2025-03-18 |
| Last modified | 2025-11-03 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-122: Heap-Based Buffer Overflow
Buffer overflow corrupting dynamically allocated heap memory, exploitable for arbitrary code execution.
Related attack patterns (CAPEC)
CAPEC-92 Forced Integer Overflow via CWE-122
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
The bson_append functions in the MongoDB C driver library are vulnerable to buffer overflow, leading to potential segmentation faults and application crashes.
An attacker could exploit this vulnerability by crafting a BSON document that exceeds the maximum allowable size (INT32_MAX) using the bson_append functions, resulting in a buffer overflow.
Questions
What is CVE-2025-0755?
The bson_append functions in the MongoDB C driver library are vulnerable to buffer overflow, leading to potential segmentation faults and application crashes.
What is the CVSS score for CVE-2025-0755?
CVE-2025-0755 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.3%.
Is CVE-2025-0755 actively exploited?
No confirmed active exploitation of CVE-2025-0755 as of 2026-05-30.
How do I remediate CVE-2025-0755?
Priority: HIGH. Advisory: https://jira.mongodb.org/browse/CDRIVER-5601 PSIRT: [email protected]
What systems are affected by CVE-2025-0755?
CVE-2025-0755 affects Mongodb Mongodb, Libbson.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mongodb","product":"Mongodb","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-11-03.