CVE-2025-0755: The various bson_append functions in the MongoDB C driver library may be susceptible to buffer overflow when p
CVE-2025-0755 is a high-severity flaw (CVSS 8.4) affecting libbson, mongodb. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.4 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.8% (top 44%) |
| CISA exploited list | No |
| Weakness | CWE-122 |
| Published | 2025-03-18 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-0755?
libbson: upgrade to 1.27.5; mongodb: upgrade to 7.0.16. Exact commands for each OS are on this page.
Is CVE-2025-0755 being exploited?
CVE-2025-0755 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-0755 affect?
CVE-2025-0755 affects libbson, mongodb. Severity is high (CVSS 8.4). 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
How urgent is CVE-2025-0755?
Priority 43/100. High severity
Software pages
Related CVEs
- CVE-2024-6381 MEDIUM 4.0 UPGRADE The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the