CVE-2025-0755Mongodb Libbson
High 7.5 No auth needed
Follow: this CVE · Mongodb · Mongodb Libbson We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Mar 18, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-122
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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
What to do
- Apply the vendor's security update for Libbson.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mongodb | libbson | < 1.27.5 |
| mongodb | mongodb | ≥ 7.0.0 < 7.0.16 |
| mongodb | mongodb | 8.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- jira.mongodb.org Issue Tracking Vendor Advisory
- jira.mongodb.org Issue Tracking Vendor Advisory
- lists.debian.org
- lists.debian.org