CVE-2025-0755
MongoDB C Driver bson library may be susceptible to buffer overflow
Summary
MongoDB C Driver bson library may be susceptible to buffer overflow
Original description
The description as published by the source.
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 packages
Bitnami
mongodb
[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"7.0.16"},{"introduced":"8.0.0"},{"fixed":"8.0.1"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2025-0755 libbson-xs-perl Fixed in: 0.8.4-1+deb11u1
References
- advisory nvd.nist.gov
- advisory github.com
- web jira.mongodb.org
- web jira.mongodb.org
- web lists.debian.org
- web lists.debian.org