CVEvulnerability
CVE-2025-0755
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2025-03-18
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.4 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-122
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
Affected configurations
• mongodb libbson (< 1.27.5)
• mongodb mongodb (>= 7.0.0 < 7.0.16)
• mongodb mongodb 8.0.0
Related
Weakness · CWE (1)
- CWE-122 Heap-based Buffer Overflow weakness
References
- https://jira.mongodb.org/browse/CDRIVER-5601 Issue Tracking, Vendor Advisory
- https://jira.mongodb.org/browse/SERVER-94461 Issue Tracking, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html lists.debian.org