CVE-2025-0755

published 18 Mar 2025 · updated 3 Nov 2025

MongoDB C Driver bson library may be susceptible to buffer overflow

8.4HighCVSS 8.4EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Server 7.0.16, Server 8.0.1 and libbson 1.27.5.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=7.0 <7.0.16, >=8.0 <8.0.17.0.16, 8.0.1
MongoDBlibbson<1.27.51.27.5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-0755 severity on Zeptric[![CVE-2025-0755](https://zeptric.io/badge/cve/CVE-2025-0755.svg)](https://zeptric.io/cve/CVE-2025-0755)