CVE-2025-0755 Details
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
A heap-based buffer overflow vulnerability has been identified in the MongoDB C driver library, specifically within the BSON handling functions. This issue arises when these functions create a BSON document that exceeds the maximum allowed size, leading to a segmentation fault and potential application crash. The vulnerability affects libbson versions prior to 1.27.5, as well as MongoDB Server versions 8.0 prior to 8.0.1 and 7.0 prior to 7.0.16.
Users can upgrade to MongoDB C Driver version 1.27.5 or later. Instructions for upgrading can be found in the MongoDB C Driver documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html | CVE | |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html | CVE | |
| https://jira.mongodb.org/browse/CDRIVER-5601 | [email protected] | Issue TrackingVendor Advisory |
| https://jira.mongodb.org/browse/SERVER-94461 | [email protected] | Issue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-122 | Heap-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mongodb libbson | < 1.27.5 |
CPE
Remediation
| |
| mongodb mongodb | >= 7.0.0, < 7.0.16 8.0.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Sep 22, 2025 | Initial Analysis | [email protected] |
| Apr 24, 2025 | CVE Modified | [email protected] |
| Mar 18, 2025 | New CVE Received | [email protected] |