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
References (4)
Core 4
Core References
Issue Tracking, Vendor Advisory
https://jira.mongodb.org/browse/CDRIVER-5601
Issue Tracking, Vendor Advisory
https://jira.mongodb.org/browse/SERVER-94461
Scores
CVSS v3
8.4
EPSS
0.0018
EPSS Percentile
39.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-122
Status
published
Products (3)
mongodb/libbson
< 1.27.5
mongodb/mongodb
8.0.0
mongodb/mongodb
7.0.0 - 7.0.16
Published
Mar 18, 2025
Tracked Since
Feb 18, 2026