# CVE-2024-6383: MongoDB C Driver bson\_string\_append may be vulnerable to a buffer overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-07-03 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2024-6383, DEBIAN-CVE-2024-6383
- Record: https://cvemate.com/vulnerability/CVE-2024-6383 · JSON: https://cvemate.com/vulnerability/CVE-2024-6383/json

## Description

```text
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
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.625%, percentile 51.425%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libbson-xs-perl (Debian): \< 0.8.4-2+deb12u1
- debian mongo-c-driver (Debian): \< 1.23.1-1+deb12u1 \| \< 1.27.1-1
- ubuntu libbson (Ubuntu): All versions (No fix recorded)
- ubuntu libbson-xs-perl (Ubuntu): All versions (No fix recorded)
- ubuntu mongo-c-driver (Ubuntu): All versions (No fix recorded) \| \< 1.26.0-1.1ubuntu2+esm1
- mongodb inc libbson: \< 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>
- <https://ubuntu.com/security/CVE-2024-6383>
- <https://www.cve.org/CVERecord?id=CVE-2024-6383>
- <https://ubuntu.com/security/notices/USN-7613-1>
- <https://security-tracker.debian.org/tracker/CVE-2024-6383>

---

Data as of 2026-12-05T06:22:32.907Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
