GLSA-200511-23 : chmlib, KchmViewer: Stack-based buffer overflow
Medium Nessus Plugin ID 20267
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe remote host is affected by the vulnerability described in GLSA-200511-23 (chmlib, KchmViewer: Stack-based buffer overflow)
Sven Tantau reported about a buffer overflow vulnerability in chmlib. The function '_chm_decompress_block()' does not properly perform boundary checking, resulting in a stack-based buffer overflow.
By convincing a user to open a specially crafted ITSS or CHM file, using KchmViewer or a program makes use of chmlib, a remote attacker could execute arbitrary code with the privileges of the user running the software.
There is no known workaround at this time.
SolutionAll chmlib users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-libs/chmlib-0.37.4' All KchmViewer users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-text/kchmviewer-1.1'