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

- Severity: High 8.4 (CVSS:3.1, scored by mongodb) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.31%, higher than 71% of CVEs (2026-11-30)
- Published: 2025-03-18T09:01:04.793Z
- Modified: 2026-09-10T16:01:43.111Z
- Also known as: BIT-MONGODB-2025-0755
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mongodb

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

(As written by CVE List.)

## Affected

- MongoDB Inc libbson: before 1.27.5
- MongoDB Inc MongoDB Server: from 8.0 before 8.0.1; from 7.0 before 7.0.16
- mongodb libbson: before 1.27.5
- mongodb mongodb: from 7.0.0 before 7.0.16; 8.0.0
- mongodb (Bitnami): from 7.0.0 before 7.0.16; from 8.0.0 before 8.0.1

## Every score

- mongodb: CVSS:3.1 8.4 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://jira.mongodb.org/browse/SERVER-94461> (advisory, issue-tracking, vendor-advisory)
- <https://jira.mongodb.org/browse/CDRIVER-5601> (advisory, issue-tracking, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html> (web)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-0755> (web)

## Sources

- CVE List: [CVE-2025-0755](https://www.cve.org/CVERecord?id=CVE-2025-0755), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2025-0755](https://nvd.nist.gov/vuln/detail/CVE-2025-0755), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MONGODB-2025-0755](https://osv.dev/vulnerability/BIT-MONGODB-2025-0755), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2025-0755 · Whole record: https://cve.day/CVE-2025-0755.json · Rebuilt by cve.day 2026-11-25T22:58:55.333Z
