CVE-2024-6383

MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow

State
Published
Severity
5.3 Medium
Published
Jul 3, 2024
Updated
Nov 3, 2025
Reserved
Jun 27, 2024

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Nmongodb

Weaknesses

Affected Products

ProductVersions
libbsonMongoDB Inc
  • before 1.27.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.