CVE-2024-6383
JSON

5.3medium

MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow

Severity
5.3medium CVSS:3.1 by mongodb
Exploit likelihood
0.63% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb

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

Affected

Product or packageVersionsReported by
MongoDB Inc libbsonbefore 1.27.1CVE List

Classification

CWE-122

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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

NVD (es)

La función bson_string_append en MongoDB C Driver puede ser vulnerable a un desbordamiento del búfer donde la función podría intentar asignar un búfer demasiado pequeño y puede provocar daños en la memoria del montón vecino. Este problema afecta a las versiones de Libbson anteriores a la 1.27.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-6383 changed 2025-11-03CVE Terms of Use
NVDCVE-2024-6383 changed 2026-06-17Public domain