CVE-2025-0755: MongoDB C Driver bson library may be susceptible to 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 57.5% of scored vulnerabilities.
Not severe (CVSS 8.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?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
58%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.79% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
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
Ubuntu2 products
- libbson-xs-perlAll versions (No fix recorded)
- mongo-c-driverAll versions (No fix recorded) | < 1.26.0-1.1ubuntu2+esm1
4 vendors · 8 products