
CVE catalog
CVE-2024-6383
mongo-c-driver vulnerabilities
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.63% · Oct 25, 2026
The bson_string_append function in MongoDB C Driver may be vulnerable to a buffer overflow where the function might attempt to allocate too small of buffer and may lead to memory corruption of neighbouring heap memory. This issue affects libbson versions prior to 1.27.1
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 | libbson | pro | 1.8.0-1 | vulnerable |
| Ubuntu | libbson | pro | 1.8.1-1 | vulnerable |
| Ubuntu | libbson | pro | 1.9.0-1 | vulnerable |
| Ubuntu | libbson | pro | 1.9.2-1 | vulnerable |
| Ubuntu | libbson | pro | 1.9.2-1ubuntu0.1~esm2 | vulnerable |
| 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.1-1 | not yet assigned | Not reported | Not reported |
| Debian | mongo-c-driver | source | forky | 1.27.1-1 | not yet assigned | Not reported | Not reported |
| Debian | mongo-c-driver | source | trixie | 1.27.1-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-2024-6383 | 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.1-1usn · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· arm64 · trixieFixed · Fixed:
1.27.1-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.1-1usn · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· arm64 · trixieFixed · Fixed:
1.27.1-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.1-1usn · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· all · trixieFixed · Fixed:
1.27.1-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.1-1usn · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· arm64 · trixieFixed · Fixed:
1.27.1-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.1-1usn · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· arm64 · trixieFixed · Fixed:
1.27.1-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.1-1usn · mongo-c-driver · debian · 13
1.30.4-1+deb13u2· all · trixieFixed · Fixed:
1.27.1-1usn · mongo-c-driver · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-6383]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-6383]
- [https://security-tracker.debian.org/tracker/CVE-2024-6383]
- [https://ubuntu.com/security/notices/USN-7613-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-1518.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Ubuntu Security Notices (USN)]