CVE-2025-0755

MongoDB C Driver bson library may be susceptible to buffer overflow

State
Published
Severity
8.4 High
Published
Mar 18, 2025
Updated
Nov 3, 2025
Reserved
Jan 27, 2025

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hmongodb

Weaknesses

Affected Products

ProductVersions
libbsonMongoDB Inc
  • before 1.27.5Affected
MongoDB ServerMongoDB Inc
  • 8.0 to before 8.0.1Affected
  • 7.0 to before 7.0.16Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.