# CVE-2025-0755: libbson-xs-perl: The various bson_append functions in the MongoDB C driver library may be susceptible to buffer overflow when performi...

CVE-2025-0755 is fixed in 4 products on 1 platform, first by libbson-1.0-0t64 1.26.0-1.1ubuntu2+esm1, released March 18, 2025. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2025-0755
- Priority: High
- CVSS: 7.5 (high)
- EPSS: 0.0079
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 18, 2025

## 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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libbson-1.0-0t64 Ubuntu 24.04.5 LTS (noble) | 1.26.0-1.1ubuntu2+esm1 | [libbson-1.0-0t64 1.26.0-1.1ubuntu2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libbson-1.0-0t64-1.26.0-1.1ubuntu2-esm1.md) | Mar 18, 2025 |
| Linux | libbson-xs-perl Debian 12.15 (bookworm) | 0.8.4-2+deb12u1 | [DEBIAN-CVE-2025-0755](https://patchblox.com/security/data/fix/linux/debian-cve-2025-0755.md) | Mar 18, 2025 |
| Linux | libmongoc-1.0-0t64 Ubuntu 24.04.5 LTS (noble) | 1.26.0-1.1ubuntu2+esm1 | [libmongoc-1.0-0t64 1.26.0-1.1ubuntu2+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libmongoc-1.0-0t64-1.26.0-1.1ubuntu2-esm1.md) | Mar 18, 2025 |
| Linux | mongo-c-driver Debian 12.15 (bookworm) | 1.23.1-1+deb12u1 | [DEBIAN-CVE-2025-0755](https://patchblox.com/security/data/fix/linux/debian-cve-2025-0755.md) | Mar 18, 2025 |
| Linux | mongo-c-driver Debian 13.5 (trixie) | 1.27.5-1 | [DEBIAN-CVE-2025-0755](https://patchblox.com/security/data/fix/linux/debian-cve-2025-0755.md) | Mar 18, 2025 |
| Linux | mongo-c-driver Debian 14 | 1.27.5-1 | [DEBIAN-CVE-2025-0755](https://patchblox.com/security/data/fix/linux/debian-cve-2025-0755.md) | Mar 18, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
