CVE-2025-0755: mongodb inc libbson Heap-based Buffer Overflow
Vulnerability summary
CVE-2025-0755 is a high (CVSS 8.4) Heap-based Buffer Overflow vulnerability in mongodb inc libbson. EPSS estimates a 0.79% chance of exploitation in the next 30 days, higher than 55.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 18-03-2025PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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 metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.79%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
+0.01 pp
From 0.77% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- libbson-xs-perl< 0.8.4-2+deb12u1
- mongo-c-driver< 1.23.1-1+deb12u1 | < 1.27.5-1
Mongodb inc2 products
- libbson< 1.27.5
- mongodb server≥ 8.0, < 8.0.1 | ≥ 7.0, < 7.0.16
Ubuntu1 product
- mongo-c-driverAll versions (No fix recorded) | < 1.26.0-1.1ubuntu2+esm1
4 vendors · 7 products