Vulnerability record · CVE-2025-0755 · published 18 March 2025
CVE-2025-0755: Mongodb libbson heap-based buffer overflow vulnerability
Mongodb · Libbson
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
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://jira.mongodb.org/browse/CDRIVER-5601 | Issue TrackingVendor Advisory |
| https://jira.mongodb.org/browse/SERVER-94461 | Issue TrackingVendor Advisory |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html | |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html |
Track CVE-2025-0755 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2025-0755), CISA KEV, FIRST EPSS (scores of 2026-11-15). This page is refreshed as NVD updates the record.