
CVE catalog
CVE-2025-0755
mongo-c-driver vulnerabilities
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.79% · Oct 25, 2026
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
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mongo-c-driver | sid | 2.5.7-1 | fixed |
| Debian | mongo-c-driver | forky | 2.5.6-1 | fixed |
| Debian | mongo-c-driver | trixie | 1.30.4-1+deb13u3 | fixed |
| Debian | mongo-c-driver | bookworm | 1.23.1-1+deb12u3 | fixed |
| Debian | libbson-xs-perl | bookworm | 0.8.4-2+deb12u1 | fixed |
| Ubuntu | mongo-c-driver | noble | 1.26.0-1.1ubuntu2+esm1 | fixed |
| Ubuntu | libbson-1.0-0t64 | noble | 1.26.0-1.1ubuntu2+esm1 | fixed |
| Ubuntu | libbson-dev | noble | 1.26.0-1.1ubuntu2+esm1 | fixed |
| Ubuntu | libbson-doc | noble | 1.26.0-1.1ubuntu2+esm1 | fixed |
| Ubuntu | libmongoc-1.0-0t64 | noble | 1.26.0-1.1ubuntu2+esm1 | fixed |
| Ubuntu | libmongoc-dev | noble | 1.26.0-1.1ubuntu2+esm1 | fixed |
| Ubuntu | libmongoc-doc | noble | 1.26.0-1.1ubuntu2+esm1 | fixed |
| Ubuntu | mongo-c-driver | pro | 1.24.3-1 | vulnerable |
| Ubuntu | mongo-c-driver | pro | 1.24.4-1 | vulnerable |
| Ubuntu | mongo-c-driver | pro | 1.25.1-1 | vulnerable |
| Ubuntu | mongo-c-driver | pro | 1.25.2-1 | vulnerable |
| Ubuntu | mongo-c-driver | pro | 1.25.4-1 | vulnerable |
| Ubuntu | mongo-c-driver | pro | 1.26.0-1 | vulnerable |
| Ubuntu | mongo-c-driver | pro | 1.26.0-1.1ubuntu1 | vulnerable |
| Ubuntu | mongo-c-driver | pro | 1.26.0-1.1ubuntu2 | vulnerable |
| Ubuntu | mongo-c-driver | pro | 1.26.0-1.1ubuntu2+esm1 | fixed |
| Ubuntu | mongo-c-driver | 22.04 | 1.18.0-1 | vulnerable |
| Ubuntu | mongo-c-driver | 22.04 | 1.19.1-1 | vulnerable |
| Ubuntu | mongo-c-driver | 22.04 | 1.19.2-1 | vulnerable |
| Ubuntu | mongo-c-driver | 22.04 | 1.20.0-1 | vulnerable |
| Ubuntu | mongo-c-driver | 22.04 | 1.20.0-1build1 | vulnerable |
| Ubuntu | mongo-c-driver | 22.04 | 1.20.1-1 | vulnerable |
| Ubuntu | mongo-c-driver | 22.04 | 1.21.0-1 | vulnerable |
| Ubuntu | mongo-c-driver | 22.04 | 1.21.0-1build1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mongo-c-driver | source | sid | 1.27.5-1 | not yet assigned | Not reported | Not reported |
| Debian | mongo-c-driver | source | forky | 1.27.5-1 | not yet assigned | Not reported | Not reported |
| Debian | mongo-c-driver | source | trixie | 1.27.5-1 | not yet assigned | Not reported | Not reported |
| Debian | mongo-c-driver | source | bookworm | 1.23.1-1+deb12u1 | not yet assigned | Not reported | Not reported |
| Debian | libbson-xs-perl | source | bookworm | 0.8.4-2+deb12u1 | not yet assigned | Not reported | Not reported |
| Ubuntu | mongo-c-driver | deb | noble | 1.26.0-1.1ubuntu2+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libbson-1.0-0t64 | deb | noble | 1.26.0-1.1ubuntu2+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libbson-dev | deb | noble | 1.26.0-1.1ubuntu2+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libbson-doc | deb | noble | 1.26.0-1.1ubuntu2+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libmongoc-1.0-0t64 | deb | noble | 1.26.0-1.1ubuntu2+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libmongoc-dev | deb | noble | 1.26.0-1.1ubuntu2+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | libmongoc-doc | deb | noble | 1.26.0-1.1ubuntu2+esm1 | Not reported | Not reported | Not reported |
| Ubuntu | mongo-c-driver | deb | pro | 1.26.0-1.1ubuntu2+esm1 | Not reported | UBUNTU-CVE-2025-0755 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libbson-1.0-0]Fixed
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· amd64 · bookwormFixed · Fixed:
1.23.1-1+deb12u1usn · mongo-c-driver · debian · bookworm; usn · mongo-c-driver · debian · 12
1.23.1-1+deb12u3· arm64 · bookwormFixed · Fixed:
1.23.1-1+deb12u1usn · mongo-c-driver · debian · bookworm; usn · mongo-c-driver · debian · 12
- [libbson-dev]Fixed
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· amd64 · bookwormFixed · Fixed:
1.23.1-1+deb12u1usn · mongo-c-driver · debian · bookworm; usn · mongo-c-driver · debian · 12
1.23.1-1+deb12u3· arm64 · bookwormFixed · Fixed:
1.23.1-1+deb12u1usn · mongo-c-driver · debian · bookworm; usn · mongo-c-driver · debian · 12
- [libbson-doc]Fixed
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· all · bookwormFixed · Fixed:
1.23.1-1+deb12u1usn · mongo-c-driver · debian · bookworm; usn · mongo-c-driver · debian · 12
1.23.1-1+deb12u3· all · bookwormFixed · Fixed:
1.23.1-1+deb12u1usn · mongo-c-driver · debian · bookworm; usn · mongo-c-driver · debian · 12
- [libbson-xs-perl]Fixed
Details (2)
0.8.4-2+deb12u1· amd64 · bookwormFixed · Fixed:
0.8.4-2+deb12u1usn · libbson-xs-perl · debian · bookworm; usn · libbson-xs-perl · debian · 12
0.8.4-2+deb12u1· arm64 · bookwormFixed · Fixed:
0.8.4-2+deb12u1usn · libbson-xs-perl · debian · bookworm; usn · libbson-xs-perl · debian · 12
- [libmongoc-1.0-0]Fixed
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· amd64 · bookwormFixed · Fixed:
1.23.1-1+deb12u1usn · mongo-c-driver · debian · bookworm; usn · mongo-c-driver · debian · 12
1.23.1-1+deb12u3· arm64 · bookwormFixed · Fixed:
1.23.1-1+deb12u1usn · mongo-c-driver · debian · bookworm; usn · mongo-c-driver · debian · 12
- [libmongoc-dev]Fixed
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· amd64 · bookwormFixed · Fixed:
1.23.1-1+deb12u1usn · mongo-c-driver · debian · bookworm; usn · mongo-c-driver · debian · 12
1.23.1-1+deb12u3· arm64 · bookwormFixed · Fixed:
1.23.1-1+deb12u1usn · mongo-c-driver · debian · bookworm; usn · mongo-c-driver · debian · 12
- [libmongoc-doc]Fixed
Source package: [mongo-c-driver]
Details (2)
1.23.1-1+deb12u3· all · bookwormFixed · Fixed:
1.23.1-1+deb12u1usn · mongo-c-driver · debian · bookworm; usn · mongo-c-driver · debian · 12
1.23.1-1+deb12u3· all · bookwormFixed · Fixed:
1.23.1-1+deb12u1usn · mongo-c-driver · debian · bookworm; usn · mongo-c-driver · debian · 12
[Debian 13 (Trixie)]
- [libbson-1.0-0t64]Fixed
Source package: [mongo-c-driver]
Details (2)
1.30.4-1+deb13u2· amd64 · trixieFixed · Fixed:
1.27.5-1usn · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· arm64 · trixieFixed · Fixed:
1.27.5-1usn · mongo-c-driver · debian · 13
- [libbson-dev]Fixed
Source package: [mongo-c-driver]
Details (2)
1.30.4-1+deb13u2· amd64 · trixieFixed · Fixed:
1.27.5-1usn · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· arm64 · trixieFixed · Fixed:
1.27.5-1usn · mongo-c-driver · debian · 13
- [libbson-doc]Fixed
Source package: [mongo-c-driver]
Details (2)
1.30.4-1+deb13u2· all · trixieFixed · Fixed:
1.27.5-1usn · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· all · trixieFixed · Fixed:
1.27.5-1usn · mongo-c-driver · debian · 13
- [libmongoc-1.0-0t64]Fixed
Source package: [mongo-c-driver]
Details (2)
1.30.4-1+deb13u2· amd64 · trixieFixed · Fixed:
1.27.5-1usn · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· arm64 · trixieFixed · Fixed:
1.27.5-1usn · mongo-c-driver · debian · 13
- [libmongoc-dev]Fixed
Source package: [mongo-c-driver]
Details (2)
1.30.4-1+deb13u2· amd64 · trixieFixed · Fixed:
1.27.5-1usn · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· arm64 · trixieFixed · Fixed:
1.27.5-1usn · mongo-c-driver · debian · 13
- [libmongoc-doc]Fixed
Source package: [mongo-c-driver]
Details (2)
1.30.4-1+deb13u2· all · trixieFixed · Fixed:
1.27.5-1usn · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· all · trixieFixed · Fixed:
1.27.5-1usn · mongo-c-driver · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-0755]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-0755]
- [https://security-tracker.debian.org/tracker/CVE-2025-0755]
- [https://ubuntu.com/security/notices/USN-7613-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0587.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]