CVE-2025-0755
MongoDB C Driver bson library may be susceptible to buffer overflow
Reported by mongodb · Published March 18, 2025
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mongodb | Bitnami | 8.0.1, 7.0.16 |
| mongodb | Bitnami | 8.0.1, 7.0.16 |
| libbson | mongodb | 1.27.5 |
| libbson | MongoDB Inc | 1.27.5 |
| mongodb | mongodb | 7.0.16 |
| MongoDB Server | MongoDB Inc | 8.0.1, 7.0.16 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MongoDB Inc | libbson | 0 |
| MongoDB Inc | MongoDB Server | 8.0, 7.0 |
| MongoDB Inc | MongoDB Server | 8.0, 7.0 |
| MongoDB Inc | libbson | 0 |
Timeline
- Mar 18, 2025 EPSS Score (30 in total, the first dated here)
- Mar 18, 2025 CVE Published
- Mar 18, 2025 PoC Published (10 in total, the first dated here)
- Mar 19, 2025 Coalition ESS Score (11 in total, the first dated here)
- Dec 25, 2025 CVE Updated
- Jun 2, 2026 Security Advisory (2 in total, the first dated here)
- Aug 10, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-0755
vulnetix vdb fixes CVE-2025-0755
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-0755/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart