8.4high
MongoDB C Driver bson library may be susceptible to buffer overflow
- Severity
- 8.4high CVSS:3.1 by mongodb
- Exploit likelihood
- 1.31% (higher than 71% of CVEs)
- Published
- Last changed
- Assigned by
- mongodb
- Also known as
- BIT-MONGODB-2025-0755
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
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Inc libbson | before 1.27.5 | CVE List |
| MongoDB Inc MongoDB Server | from 8.0 before 8.0.1, from 7.0 before 7.0.16 | CVE List |
| mongodb libbson | before 1.27.5 | NVD |
| mongodb mongodb | from 7.0.0 before 7.0.16, 8.0.0 | NVD |
| mongodb (Bitnami) | from 7.0.0 before 7.0.16, from 8.0.0 before 8.0.1 | Bitnami Vulnerability Database |
All scores
| mongodb | 8.4high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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
NVD (es)
Las diversas funciones bson_append de la librería del controlador C de MongoDB pueden ser susceptibles a desbordamientos de búfer al realizar operaciones que podrían generar un documento BSON final que supere el tamaño máximo permitido (INT32_MAX), lo que provocaría un fallo de segmentación y un posible bloqueo de la aplicación. Este problema afectaba a las versiones de libbson anteriores a la 1.27.5, a las versiones de MongoDB Server v8.0 anteriores a la 8.0.1 y a las versiones de MongoDB Server v7.0 anteriores a la 7.0.16.
References
| https://jira.mongodb.org/browse/SERVER-94461 | advisory, issue-tracking, vendor-advisory | |
| https://jira.mongodb.org/browse/CDRIVER-5601 | advisory, issue-tracking, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html | web | |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-0755 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-0755 changed 2025-11-03 | CVE Terms of Use |
| NVD | CVE-2025-0755 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-MONGODB-2025-0755 changed 2026-09-10 | Apache-2.0 |