Heap-based Buffer Overflow
libmodbus.so is vulnerable to heap-based buffer overflow. The vulnerability exists in modbusreply function at src/modbus.c because it does not check for the null values earlier. which allows an attacker to cause a buffer overflow...