CVE-2024-6383

published 3 Jul 2024 · updated 3 Nov 2025

MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow

5.3MediumCVSS 5.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in libbson 1.27.1.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBlibbson<1.27.11.27.1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-6383 severity on Zeptric[![CVE-2024-6383](https://zeptric.io/badge/cve/CVE-2024-6383.svg)](https://zeptric.io/cve/CVE-2024-6383)