CVE-2024-6381
Medium
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
SeverityMedium
CVSS4.0
Exploit probability—
Product
Mongodb Libbson
PublishedJul 2, 2024
First seenJul 2, 2024
Weakness typeCWE-680CWE-680
How to fix
Update
- mongodb libbson1.26.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mongodb libbson | v < 1.26.2 | 1.26.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.