Bug 733119 - (CVE-2011-3194) CVE-2011-3194 qt buffer overflow in greyscale images
CVE-2011-3194 qt buffer overflow in greyscale images
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
public=20100918,reported=20110824,sou...
: Security
Depends On: 736575 737812 737813
Blocks: 733120
  Show dependency treegraph
 
Reported: 2011-08-24 16:03 EDT by Josh Bressers
Modified: 2015-07-31 02:43 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-04-15 18:52:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Upstream patch (2.36 KB, patch)
2011-09-08 02:09 EDT, Huzaifa S. Sidhpurwala
no flags Details | Diff

  None (edit)
Description Josh Bressers 2011-08-24 16:03:27 EDT
QT contains a buffer overflow on greyscale images with multiple samples per
pixel.

From the upstream commit:
https://qt.gitorious.org/qt/qt/commit/cb6380beb81ab9571c547270c144988781fed465

fix tiff reader to handle TIFFTAG_SAMPLESPERPIXEL for grayscale images

This commit fixes reading a .tiff file from ImageMagick which reports
the following:
TIFFTAG_BITSPERSAMPLE = 8
TIFFTAG_SAMPLESPERPIXEL = 2
TIFFTAG_PHOTOMETRIC = PHOTOMETRIC_MINISBLACK
The reader uses QImage::Format_Indexed8, but since the samples per pixel
value this should be (non-existent) QImage::Format_Indexed16, causing
memory corruption. The fix falls back to the "normal" way of reading
tiff images.
Comment 1 Huzaifa S. Sidhpurwala 2011-09-08 02:09:25 EDT
Created attachment 522048 [details]
Upstream patch
Comment 3 Huzaifa S. Sidhpurwala 2011-09-08 02:34:55 EDT
This issue affects the version of qt shipped with Red Hat Enterprise Linux 6.

This issue does not affect the version of qt shipped with Red Hat Enterprise Linux 4. 

This issue does not affect the version of qt and qt4 shipped with Red Hat Enterprise Linux 5.

This issue does not affect the version of qt and qt3 shipped with Red Hat Enterprise Linux 6.

--

This issue affects the version of qt shipped with Fedora-14 and Fedora-15
Comment 4 Huzaifa S. Sidhpurwala 2011-09-08 02:36:43 EDT
Created qt tracking bugs for this issue

Affects: fedora-all [bug 736575]
Comment 5 Huzaifa S. Sidhpurwala 2011-09-08 03:13:31 EDT
We may also want to consider this patch while fixing the issue:

https://qt.gitorious.org/qt/qt/commit/c9d2445bc3bbccd3cc6cfb95f09108cabe981840

Reference:
https://bugreports.qt.nokia.com//browse/QTBUG-19878
https://bugreports.qt.nokia.com/browse/QTBUG-20167
Comment 12 errata-xmlrpc 2011-09-21 14:06:17 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:1323 https://rhn.redhat.com/errata/RHSA-2011-1323.html
Comment 13 errata-xmlrpc 2011-09-21 14:37:23 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:1328 https://rhn.redhat.com/errata/RHSA-2011-1328.html

Note You need to log in before you can comment on or make changes to this bug.