CVE-2025-0755 json
MongoDB C Driver bson library may be susceptible to buffer overflow
published 2025-03-18 19 mo ago modified 2026-09-10 59 d ago also BIT-mongodb-2025-0755 , EUVD-2025-6467
- cvss
- 8.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- bitnami mongodb 7.0.16, 8.0.1
- MongoDB Inc libbson 1.27.5
- MongoDB Inc MongoDB Server 7.0.16, 8.0.1
- mongo-c-driver Debian 12 1.23.1-1+deb12u1
- mongo-c-driver Debian 14, Debian 13 1.27.5-1
- libbson-xs-perl Debian 12 0.8.4-2+deb12u1
debian advisories DEBIAN-CVE-2025-0755
- mongo-c-driver Ubuntu Pro 24.04 LTS 1.26.0-1.1ubuntu2+esm1
ubuntu advisories UBUNTU-CVE-2025-0755
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 19 mo ago
Exploit prediction
0.79% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | mongodb | >=7.0.0, <7.0.16 >=8.0.0, <8.0.1 |
7.0.16 8.0.1 |
Affected products
- MongoDB Inc libbson
- MongoDB Inc MongoDB Server
Classification
- Weakness
-
- CWE-122 Heap-based Buffer Overflow
- Technology feeds
References
-
jira.mongodb.org
/browse/SERVER-94461
issue-tracking, vendor-advisory, advisory
-
jira.mongodb.org
/browse/CDRIVER-5601
issue-tracking, vendor-advisory, advisory
-
lists.debian.org
/debian-lts-announce/2025/05/msg00027.html
web
-
lists.debian.org
/debian-lts-announce/2025/05/msg00012.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-0755
web
Sources
- CVE List CVE-2025-0755
- NVD CVE-2025-0755
- OSV BIT-mongodb-2025-0755
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.