CVE-2024-6383
published medium CVSS 3.1 · 5.3MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB Inc | — | libbson0 to < 1.27.1 · Other versions: unaffected | Affected | Not stated | mongodb |
| Debian | bullseye | libbson-xs-perl | Advisory build | 0.8.4-1+deb11u1 | DLA-4160-1 |
| Ubuntu | noble | libbson-1.0-0t64 | Advisory build | 1.26.0-1.1ubuntu2+esm1 | USN-7613-1 |
| Debian | bullseye | mongo-c-driver | Advisory build | 1.17.6-1+deb11u1 | DLA-4175-1 |
| Ubuntu | noble | libmongoc-1.0-0t64 | Advisory build | 1.26.0-1.1ubuntu2+esm1 | USN-7613-1 |
| Ubuntu | noble | mongo-c-driver | Advisory build | 1.26.0-1.1ubuntu2+esm1 | USN-7613-1 |
Description
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
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- mongodb · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB Inc | libbson | 0 to < 1.27.1 (affected · custom)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-122 CWE-122: Heap-based Buffer Overflow
References
4Provider assertions
3mongodb · cna
MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2db7e402359e90abcbc276ccc06a1b72e2aef52a49b57566aec818321c90f628
- Ingested
- 23 Sep 2026, 08:33:03 UTC
- Source record
- Official CVE record