CVE-2024-6383
MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow
Reported by mongodb · Published July 3, 2024
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libbson | MongoDB Inc | 1.27.1 |
| libbson | MongoDB | 1.27.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| MongoDB Inc | libbson | 0 |
| MongoDB Inc | libbson | 0 |
Timeline
- Jul 3, 2024 CVE Published
- Jul 4, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (14 in total, the first dated here)
- Dec 28, 2025 CVE Updated
- Jun 2, 2026 Security Advisory (2 in total, the first dated here)
- Aug 10, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-6383
vulnetix vdb fixes CVE-2024-6383
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-6383/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart