Skip to content
CVE PROGRAM SOURCE RECORD8.4 High

CVE-2025-0755

MongoDB C Driver bson library may be susceptible to buffer overflow

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

MongoDB Inc libbson

Default version status: unaffected

  • 0 to < 1.27.5affected

MongoDB Inc MongoDB Server

Default version status: unaffected

  • 8.0 to < 8.0.1affected
  • 7.0 to < 7.0.16affected

References