CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2025-0755: MongoDB C Driver bson library may be susceptible to buffer overflow

8.4 CVSS

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

Classification

CVE ID: CVE-2025-0755

CVSS Base Severity: HIGH

CVSS Base Score: 8.4

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem Types

CWE-122: Heap-based Buffer Overflow

Affected Products

Vendor: MongoDB Inc, MongoDB Inc

Product: libbson, MongoDB Server

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 3.01% (scored less or equal to compared to others)

EPSS Date: 2025-04-16 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2025-0755
https://jira.mongodb.org/browse/SERVER-94461

Timeline