An issue was discovered in the Tatsuya Kinoshita w3m fork before 0.5.3-31. Heap-based buffer overflow in the addMultirowsForm function in w3m allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted HTML page.
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 copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
Link | Tags |
---|---|
https://security.gentoo.org/glsa/201701-08 | vendor advisory |
https://github.com/tats/w3m/issues/26 | issue tracking patch |
https://github.com/tats/w3m/blob/master/ChangeLog | issue tracking patch |
http://www.securityfocus.com/bid/94407 | vdb entry |
http://www.openwall.com/lists/oss-security/2016/11/18/3 | third party advisory mailing list |