libmodbus v3.1.6 was discovered to contain a heap overflow via the modbus_mapping_free() function.
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Link | Tags |
---|---|
https://github.com/stephane/libmodbus/issues/748 | vendor advisory issue tracking exploit |
https://github.com/balckgu1/libmodbusPoc/blob/main/gdb.md | third party advisory exploit |