{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-6381","published":"2024-07-02T18:15:03.963000Z","last_modified":"2026-06-17T08:17:53.870000Z","status":"Modified","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-680"],"cpes":[{"criteria":"cpe:2.3:a:mongodb:libbson:*:*:*:*:*:*:*:*","part":"a","vendor":"mongodb","product":"libbson","version_end_excluding":"1.26.2"}],"cpes_truncated":false,"vendors":["mongodb"],"products":["mongodb/libbson"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00666,"percentile":0.46824,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2024-6381/","html_en":"/en/cve/CVE-2024-6381/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-6381","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-6381"},"untrusted":{"vendor_name":"Mongodb","product_name":"Libbson","desc_en":"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","affected":[{"untrusted_vendor":"MongoDB Inc","untrusted_product":"libbson","versions":[]}],"references":[{"url":"https://jira.mongodb.org/browse/CDRIVER-5622","tags":["Issue Tracking","Vendor Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00012.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html","tags":[]}]}}