CVE-2025-0755 Affecting mongo-c-driver package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.02% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-MONGOCDRIVER-9485830
  • published26 Jun 2025
  • disclosed18 Mar 2025

Introduced: 18 Mar 2025

CVE-2025-0755  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 mongo-c-driver.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mongo-c-driver package and not the mongo-c-driver package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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