REDHAT-BUG-733119: Buffer Overflow

Published Aug 24, 2011
·
Updated

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 TIFFTAGSAMPLESPERPIXEL for grayscale images

This commit fixes reading a .tiff file from ImageMagick which reports the following: TIFFTAGBITSPERSAMPLE = 8 TIFFTAGSAMPLESPERPIXEL = 2 TIFFTAGPHOTOMETRIC = PHOTOMETRICMINISBLACK The reader uses QImage::FormatIndexed8, but since the samples per pixel value this should be (non-existent) QImage::FormatIndexed16, causing memory corruption. The fix falls back to the "normal" way of reading tiff images.

Affected Software

1 affected component
Qt Project Qt

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch cb6380beb81ab9571c547270c144988781fed465

Event History

Aug 24, 2011
Data Sourced
via Red Hat·08:03 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What kind of input is needed to trigger the issue?

An affected Qt TIFF reader must process a grayscale TIFF image that reports 8 bits per sample, two samples per pixel, and PHOTOMETRIC_MINISBLACK. Such an image can cause memory corruption because it is handled as an 8-bit indexed image despite having multiple samples per pixel.

2

Which applications are most relevant to triage?

Applications using Qt to read or decode TIFF images are the relevant exposure point. The issue is specifically in TIFF image handling, rather than general Qt use.

3

What is the remediation described by the upstream fix?

The fix changes the TIFF reader to account for TIFFTAG_SAMPLESPERPIXEL when handling grayscale images. For the affected input, it falls back to the normal TIFF-reading path instead of using the incorrect indexed-image format.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203