Lucene search

K
archlinuxArch LinuxASA-201411-33
HistoryNov 28, 2014 - 12:00 a.m.

libjpeg-turbo: denial of service

2014-11-2800:00:00
Arch Linux
lists.archlinux.org
17

0.011 Low

EPSS

Percentile

84.8%

Special crafted jpeg files lead to stack smashing and lead to at least
a dos (maybe remote due to imagick).

The Huffman encoder’s local buffer can be overrun when a buffered
destination manager is being used and an extremely-high-frequency block
(basically junk image data) is being encoded.
Even though the Huffman local buffer was increased from 128 bytes to 136
bytes to address the previous issue, the new issue caused even the
larger buffer to be overrun. Further analysis reveals that, in the
absolute worst case (such as setting alternating AC coefficients to
32767 and -32768 in the JPEG scanning order), the Huffman encoder can
produce encoded blocks that approach double the size of the unencoded
blocks. Thus, the Huffman local buffer was increased to 256 bytes, which
should prevent any such issue from re-occurring in the future.

OSVersionArchitecturePackageVersionFilename
anyanyanylibjpeg-turbo< 1.3.1-3UNKNOWN