Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | Libbson | < 1.27.5 |
| Mongodb | Mongodb | >= 7.0.0, < 7.0.16 |
Related Weaknesses (CWE)
References
- https://jira.mongodb.org/browse/CDRIVER-5601Issue TrackingVendor Advisory
- https://jira.mongodb.org/browse/SERVER-94461Issue TrackingVendor Advisory
- https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html
FAQ
What is CVE-2025-0755?
CVE-2025-0755 is a vulnerability with a CVSS score of 8.4 (HIGH). 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 ...
How severe is CVE-2025-0755?
CVE-2025-0755 has been rated HIGH with a CVSS base score of 8.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-0755?
Check the references section above for vendor advisories and patch information. Affected products include: Mongodb Libbson, Mongodb Mongodb.