An issue was discovered in the Tatsuya Kinoshita w3m fork before 0.5.3-31. Integer overflow vulnerability in the renderTable function in w3m allows remote attackers to cause a denial of service (OOM) and possibly execute arbitrary code due to bdwgc's bug (CVE-2016-9427) via a crafted HTML page.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
https://security.gentoo.org/glsa/201701-08 | vendor advisory |
https://github.com/tats/w3m/issues/25 | patch issue tracking |
https://github.com/tats/w3m/blob/master/ChangeLog | patch issue tracking |
http://www.securityfocus.com/bid/94407 | vdb entry |
http://www.openwall.com/lists/oss-security/2016/11/18/3 | third party advisory mailing list |