GLSA-201612-55 : libjpeg-turbo: User-assisted execution of arbitrary code
Medium Nessus Plugin ID 96230
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe remote host is affected by the vulnerability described in GLSA-201612-55 (libjpeg-turbo: User-assisted execution of arbitrary code)
The accelerated Huffman decoder was previously invoked if there were 128 bytes in the input buffer. However, it is possible to construct a JPEG image with Huffman blocks > 430 bytes in length. This release simply increases the minimum buffer size for the accelerated Huffman decoder to 512 bytes, which should accommodate any possible input.
A remote attacker could coerce the victim to run a specially crafted image file resulting in the execution of arbitrary code.
There is no known workaround at this time.
SolutionAll libjpeg-turbo users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=media-libs/libjpeg-turbo-1.5.0'