An issue was discovered in the Tatsuya Kinoshita w3m fork before 0.5.3-31. The feed_table_tag function in w3m doesn't properly validate the value of table span, which allows remote attackers to cause a denial of service (stack and/or heap buffer overflow) 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.
Link | Tags |
---|---|
https://security.gentoo.org/glsa/201701-08 | vendor advisory |
https://github.com/tats/w3m/blob/master/ChangeLog | issue tracking patch |
https://github.com/tats/w3m/issues/8 | 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 |