CVE-2025-0755
JSON

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 packageVersionsReported by
MongoDB Inc libbsonbefore 1.27.5CVE List
MongoDB Inc MongoDB Serverfrom 8.0 before 8.0.1, from 7.0 before 7.0.16CVE List
mongodb libbsonbefore 1.27.5NVD
mongodb mongodbfrom 7.0.0 before 7.0.16, 8.0.0NVD
mongodb (Bitnami)from 7.0.0 before 7.0.16, from 8.0.0 before 8.0.1Bitnami Vulnerability Database

All scores

mongodb8.4high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-122

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

Sources

SourceRecordLicence
CVE ListCVE-2025-0755 changed 2025-11-03CVE Terms of Use
NVDCVE-2025-0755 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-MONGODB-2025-0755 changed 2026-09-10Apache-2.0