A vulnerability, which was classified as critical, was found in libmodbus 3.1.6. Affected is the function modbus_mapping_free. The manipulation leads to heap-based buffer overflow.

This vulnerability is traded as CVE-2024-36843. The attack needs to be done within the local network. There is no exploit available.