CVE-2024-6383: MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow
Vulnerability summary
CVE-2024-6383 is a medium (CVSS 5.3) Heap-based Buffer Overflow vulnerability in mongodb inc libbson. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 51.4% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 03-07-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.63%
Chance of exploitation in the next 30 days
Percentile
51%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.63% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu3 products
- libbsonAll versions (No fix recorded)
- libbson-xs-perlAll versions (No fix recorded)
- mongo-c-driverAll versions (No fix recorded) | < 1.26.0-1.1ubuntu2+esm1
Debian2 products
- libbson-xs-perl< 0.8.4-2+deb12u1
- mongo-c-driver< 1.23.1-1+deb12u1 | < 1.27.1-1
Mongodb inc1 product
- libbson< 1.27.1
3 vendors · 6 products