A vulnerability was found in MongoDB C Driver up to 1.30.4/2.0.1. It has been classified as problematic. The affected element is the function bson_validate. This manipulation causes improper input validation.

This vulnerability is tracked as CVE-2026-6231. The attack is possible to be carried out remotely. No exploit exists.

Upgrading the affected component is recommended.