# CVE-2024-6383: MongoDB C Driver bson_string_append may be vulnerable to a buffer overflow

- Severity: Medium 5.3 (CVSS:3.1, scored by mongodb) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2024-07-03T21:33:47.598Z
- Modified: 2026-06-17T08:17:54.170Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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

(As written by CVE List.)

## Affected

- MongoDB Inc libbson: before 1.27.1

## References

- <https://jira.mongodb.org/browse/CDRIVER-5628>
- <https://security.netapp.com/advisory/ntap-20241004-0001/>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html>

## Sources

- CVE List: [CVE-2024-6383](https://www.cve.org/CVERecord?id=CVE-2024-6383), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2024-6383](https://nvd.nist.gov/vuln/detail/CVE-2024-6383), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6383 · Whole record: https://cve.day/CVE-2024-6383.json · Rebuilt by cve.day 2026-11-25T22:58:42.500Z
