A vulnerability was found in MongoDB libbson up to 1.26.1. It has been classified as problematic. Affected is the function bson_strfreev. The manipulation leads to integer overflow to buffer overflow.

This vulnerability is traded as CVE-2024-6381. Attacking locally is a requirement. There is no exploit available.

It is recommended to upgrade the affected component.