← Database

CVE-2024-6381

MEDIUM CVSS: 4.0 Published: 2024-07-02 Modified: 2026-06-17

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

Affected Platforms

Mongodb Libbson

Weakness Type

CWE-680

References