A heap-based buffer overflow flaw was found in libmodbus in function modbus_reply() in src/modbus.c.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
The product writes data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://github.com/stephane/libmodbus/issues/614 | issue tracking patch exploit third party advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2045571 | issue tracking third party advisory |
https://github.com/stephane/libmodbus/commit/b4ef4c17d618eba0adccc4c7d9e9a1ef809fc9b6 | third party advisory patch |
https://lists.debian.org/debian-lts-announce/2022/09/msg00007.html | third party advisory mailing list |