CVE-2025-0755
Last modified
CVE-2025-0755 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.73% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | Libbson | < 1.27.5 |
| Mongodb | Mongodb | >= 7.0.0, < 7.0.16 |
| Mongodb | Mongodb | 8.0.0 |
References
- https://jira.mongodb.org/browse/CDRIVER-5601Issue Tracking, Vendor Advisory
- https://jira.mongodb.org/browse/SERVER-94461Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-0755?
How severe is CVE-2025-0755?
How do I fix CVE-2025-0755?
Are you affected by CVE-2025-0755?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
