CVE-2024-6383

MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow

Published Jul 3, 2024 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4160-1 libbson-xs-perl security update
Debian DLA Debian DLA DLA-4175-1 mongo-c-driver security update
EUVD EUVD EUVD-2024-47490 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
Ubuntu USN Ubuntu USN USN-7613-1 mongo-c-driver vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mongodb
Published
Updated
Nov 3, 2025, 7:34 PM
Reserved
Jun 27, 2024, 8:43 AM
Status
Deferred
Published
Jul 3, 2024, 10:15 PM
Modified
Jun 17, 2026, 8:17 AM