High severity · published Mar 18, 2025
CVE-2025-0755
MongoDB C Driver bson library may be susceptible to buffer overflow
7.5
CVSS
0.8%
EPSS
No
On KEV
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
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 56% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MO
MongoDB · MongoDB
7.0.0 before 7.0.16; 8.0.0 · source: NVD
MS
MongoDB Server · MongoDB Inc
8.0 before 8.0.1; 7.0 before 7.0.16 · source: vendor
LI
libbson · MongoDB Inc
before 1.27.5 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-0755
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-0755
Issue Tracking
https://jira.mongodb.org/browse/CDRIVER-5601
Issue Tracking
https://jira.mongodb.org/browse/SERVER-94461
lists.debian.org
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
More from MongoDB
9.9
CVE-2019-10758
MongoDB mongo-express Remote Code Execution Vulnerability
7.5
CVE-2025-14847
Zlib compressed protocol header length confusion may allow memory read
9.8
CVE-2026-19001
MongoDB BI Connector ODBC driver may write outside an allocated buffer when handling oversized catalog object names
9.8
CVE-2025-40906
BSON::XS versions 0.8.4 and earlier for Perl includes a bundled libbson 1.1.7, which has several vulnerabilities
9.8
CVE-2025-3085
MongoDB Server running on Linux may allow unexpected connections where intermediate certificates are revoked
