VDB

CVE-2024-6383

CVE-2024-6383 PUBLISHED CVSS 5.3 MEDIUM

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.

PackageEcosystemFixed in
libbsonMongoDB Inc1.27.1
libbsonMongoDB1.27.1

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected products

VendorProductVersions
MongoDB Inclibbson0
MongoDB Inclibbson0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›