5.3

CVE-2024-6383: mongodb inc libbson Heap-based Buffer Overflow

CVSS: 5.3v3.1MediumDeferred
AliasesUBUNTU-CVE-2024-6383DEBIAN-CVE-2024-6383
Published 03-07-2024Last modified 03-11-2025

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 48.9% of scored vulnerabilities.

Overall risk
21/100
0100
Low · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.63%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 1

Timeline

  1. 03-07-2024
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last 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

EPSS trend

Probability

0.63%

Chance of exploitation in the next 30 days

Percentile

49%

Versus all other CVEs

30-day change

0.00 pp

From 0.63% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.63%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian2 products
  • libbson-xs-perl< 0.8.4-2+deb12u1
  • mongo-c-driver< 1.23.1-1+deb12u1 | < 1.27.1-1
Ubuntu2 products
  • libbsonAll versions (No fix recorded)
  • mongo-c-driverAll versions (No fix recorded) | < 1.26.0-1.1ubuntu2+esm1
Mongodb inc1 product

3 vendors · 5 products

References

8 links