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
{
"cna_assigner": "mongodb",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6381.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"fixed": "1.26.2"
}
],
"source": "AFFECTED_FIELD"
}
],
"cwe_ids": [
"CWE-680"
]
}