# CVE-2025-0755: MongoDB C Driver bson library may be susceptible to buffer overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 8.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-03-18 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2025-0755, DEBIAN-CVE-2025-0755
- Record: https://cvemate.com/vulnerability/CVE-2025-0755 · JSON: https://cvemate.com/vulnerability/CVE-2025-0755/json

## Description

```text
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
```

## Signals

- CVSS: 8.4 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.788%, percentile 57.553%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libbson-xs-perl (Debian): \< 0.8.4-2+deb12u1
- debian mongo-c-driver (Debian): \< 1.23.1-1+deb12u1 \| \< 1.27.5-1
- ubuntu libbson-xs-perl (Ubuntu): All versions (No fix recorded)
- ubuntu mongo-c-driver (Ubuntu): All versions (No fix recorded) \| \< 1.26.0-1.1ubuntu2+esm1
- mongodb inc libbson: \< 1.27.5
- mongodb inc mongodb server: ≥ 8.0, \< 8.0.1 \| ≥ 7.0, \< 7.0.16
- mongodb libbson: \< 1.27.5
- mongodb mongodb: ≥ 7.0.0, \< 7.0.16 \| 8.0.0

## References

- <https://jira.mongodb.org/browse/SERVER-94461>
- <https://jira.mongodb.org/browse/CDRIVER-5601>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html>
- <https://ubuntu.com/security/CVE-2025-0755>
- <https://www.cve.org/CVERecord?id=CVE-2025-0755>
- <https://ubuntu.com/security/notices/USN-7613-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-0755>

---

Data as of 2026-12-05T04:22:21.826Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
