First published: Tue Mar 18 2025(Updated: )
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
Credit: cna@mongodb.com
Affected Software | Affected Version | How to fix |
---|---|---|
MongoDB BSON | <1.27.5 | |
MongoDB | <8.0.1<7.0.16 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-0755 is classified as a high severity vulnerability due to its potential to cause buffer overflow and segmentation faults.
To fix CVE-2025-0755, upgrade to versions of MongoDB Server and libbson that are later than 8.0.1 and 1.27.5 respectively.
Exploiting CVE-2025-0755 may lead to application crashes or unintended behavior due to the segmentation fault caused by buffer overflow.
MongoDB Server versions prior to 8.0.1 and 7.0.16, as well as libbson versions before 1.27.5, are affected by CVE-2025-0755.
As of now, there are no known public exploits for CVE-2025-0755, but the vulnerability poses a significant risk if not addressed.