Vulnerability record · CVE-2024-6381 · published 2 July 2024
CVE-2024-6381: Mongodb libbson vulnerability
Mongodb · Libbson
The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the function will try to free memory at a negative offset. This may result in memory corruption. This issue affected libbson versions prior to 1.26.2
Description
The bson_strfreev function in the MongoDB C driver library may be susceptible to an integer overflow where the function will try to free memory at a negative offset. This may result in memory corruption. This issue affected libbson versions prior to 1.26.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://jira.mongodb.org/browse/CDRIVER-5622 | Issue TrackingVendor Advisory |
| https://jira.mongodb.org/browse/CDRIVER-5622 | Issue TrackingVendor Advisory |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html | |
| https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html |
Track CVE-2024-6381 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-6381), CISA KEV, FIRST EPSS (scores of 2026-11-15). This page is refreshed as NVD updates the record.