Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1210673 - (CVE-2015-1858) CVE-2015-1858 qt: segmentation fault in qbmphandler.cpp
CVE-2015-1858 qt: segmentation fault in qbmphandler.cpp
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20150311,repor...
: Security
Depends On: 1210677
Blocks: 1210676
  Show dependency treegraph
 
Reported: 2015-04-10 06:48 EDT by Vasyl Kaigorodov
Modified: 2015-12-22 05:53 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A memory corruption flaw was found in the way Qt handled certain Bitmap (BMP) files. If a user loaded a specially crafted BMP image file with an application linked against Qt, it could cause the application to crash or, possibly, execute arbitrary code with the privileges of the user running the application.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-12-22 05:53:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vasyl Kaigorodov 2015-04-10 06:48:37 EDT
Fuzzing test revealed that for certain malformed bmp files, the handler would segfault.

Upstream fix: https://codereview.qt-project.org/#/c/108312/

Acknowledgements:

Red Hat would like to thank Richard Moore of KDE for reporting this issue.
Comment 1 Vasyl Kaigorodov 2015-04-10 06:52:28 EDT
Created qt tracking bugs for this issue:

Affects: fedora-all [bug 1210677]
Comment 2 Stefan Cornelius 2015-04-17 10:20:02 EDT
References:

Upstream advisory:
http://lists.qt-project.org/pipermail/announce/2015-April/000067.html
Comment 3 Fedora Update System 2015-04-21 15:11:40 EDT
qt5-qtbase-5.4.1-9.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 4 Kevin Kofler 2015-04-21 19:35:03 EDT
To the best of my knowledge, Qt 3 is NOT vulnerable to this issue, for the following reason:
The security fix from Qt 4 changes the relevant code sequence in the BMP/DIB reader from "protection, get characters, update p" to "get characters, protection, update p". The Qt 3 code was already using the correct "get characters, protection, update p" order. ("get characters" increments the x and y variables, "protection" checks them.) The character reading code was modified for Qt 4, apparently introducing this bug.

Qt 4 and Qt 5 are vulnerable, and Fedora updates correcting this vulnerability have been issued.
Comment 5 Yaakov Selkowitz 2015-04-22 20:27:19 EDT
Wouldn't this and the others also affect mingw-qt and mingw-qt5-qtbase?
Comment 7 Fedora Update System 2015-04-23 12:10:06 EDT
qt-4.8.6-28.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2015-04-26 08:43:29 EDT
qt5-qtbase-5.4.1-9.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2015-04-26 08:45:49 EDT
qt5-qtbase-5.4.1-9.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 10 Fedora Update System 2015-04-29 15:18:14 EDT
qt5-qtbase-5.4.1-9.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2015-04-30 07:45:38 EDT
qt-4.8.6-28.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

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