CVE-2015-0295
The BMP decoder in QtGui in QT before 5.5 does not properly calculate the masks used to extract...
The BMP decoder in QtGui in QT before 5.5 does not properly calculate the masks used to extract the color components, which allows remote attackers to cause a denial of service (divide-by-zero and crash) via a crafted BMP file.
Exploit likelihood
What each source reports
NVD Score used
5.0
The BMP decoder in QtGui in QT before 5.5 does not properly calculate the masks used to extract the color components, which allows remote attackers to cause a denial of service (divide-by-zero and crash) via a crafted BMP file.
- Record
CVE-2015-0295- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-189
- Updated
- 2026-11-02
CVE List No score
The BMP decoder in QtGui in QT before 5.5 does not properly calculate the masks used to extract the color components, which allows remote attackers to cause a denial of service (divide-by-zero and crash) via a crafted BMP file.
- Record
CVE-2015-0295- Updated
- 2026-11-02
EUVDEUVD-2015-0308 No score
The BMP decoder in QtGui in QT before 5.5 does not properly calculate the masks used to extract the color components, which allows remote attackers to cause a denial of service (divide-by-zero and crash) via a crafted BMP file.
- Record
EUVD-2015-0308- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8p7m-hxqm-w38g No score
The BMP decoder in QtGui in QT before 5.5 does not properly calculate the masks used to extract...
The BMP decoder in QtGui in QT before 5.5 does not properly calculate the masks used to extract the color components, which allows remote attackers to cause a denial of service (divide-by-zero and crash) via a crafted BMP file.
- Record
GHSA-8p7m-hxqm-w38g- Updated
- 2026-11-02
OSV No score
The BMP decoder in QtGui in QT before 5.5 does not properly calculate the masks used to extract the color components, which allows remote attackers to cause a denial of service (divide-by-zero and crash) via a crafted BMP file.
- Record
CVE-2015-0295- Updated
- 2026-11-02
OSVDEBIAN-CVE-2015-0295 No score
The BMP decoder in QtGui in QT before 5.5 does not properly calculate the masks used to extract the color components, which allows remote attackers to cause a denial of service (divide-by-zero and crash) via a crafted BMP file.
- Record
DEBIAN-CVE-2015-0295- Updated
- 2026-11-02
Show 9 moreShow less
OSVMGASA-2015-0105 No score
Updated qt3, qt4 and qtbase5 packages fix security vulnerability
The builtin BMP decoder in QtGui prior to Qt 5.5 contained a bug that would lead to a divsion by zero when loading certain corrupt BMP files (CVE-2015-0295). This in turn would cause the application loading these hand crafted BMPs to crash. Qt3, Qt4 and qtbase5 have been patched to prevent this division by zero.
- Record
MGASA-2015-0105- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10180-1 No score
libqt4-32bit-4.8.7-5.4 on GA media
These are all security issues fixed in the libqt4-32bit-4.8.7-5.4 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10180-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10287-1 No score
qt3-3.3.8c-140.6 on GA media
These are all security issues fixed in the qt3-3.3.8c-140.6 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10287-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10456-1 No score
libQt5Bootstrap-devel-static-32bit-5.7.0-2.2 on GA media
These are all security issues fixed in the libQt5Bootstrap-devel-static-32bit-5.7.0-2.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10456-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:0977-1 No score
Security update for libqt4
The libqt4 library was updated to fix several security issues:
* CVE-2015-0295: Division by zero when processing malformed BMP files.
(bsc#921999)
* CVE-2015-1858: Segmentation fault in BMP Qt Image Format Handling.
(bsc#927806)
* CVE-2015-1859: Segmentation fault in ICO Qt Image Format Handling.
(bsc#927807)
* CVE-2015-1860: Segmentation fault in GIF Qt Image Format Handling.
(bsc#927808)
Security Issues:
* CVE-2015-1858
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1858>
* CVE-2015-1859
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1859>
* CVE-2015-1860
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1860>
* CVE-2015-0295
<http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0295>
- Record
SUSE-SU-2015:0977-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:1359-1 No score
Security update for libqt4
The libqt4 library was updated to fix several security and non security issues.
The following vulnerabilities were fixed:
- bsc#921999: CVE-2015-0295: division by zero when processing malformed BMP files
- bsc#927806: CVE-2015-1858: segmentation fault in BMP Qt Image Format Handling
- bsc#927807: CVE-2015-1859: segmentation fault in ICO Qt Image Format Handling
- bsc#927808: CVE-2015-1860: segmentation fault in GIF Qt Image Format Handling
The following non-secuirty issues were fixed:
- bsc#929688: Critical Problem in Qt Network Stack
- bsc#847880: kde/qt rendering error in qemu cirrus i586
- Update use-freetype-default.diff to use same method as with libqt5-qtbase package: Qt itself already does runtime check whether subpixel rendering is available, but only when FT_CONFIG_OPTION_SUBPIXEL_RENDERING is defined. Thus it is enough to only remove that condition
- The -devel subpackage requires Mesa-devel, not only at build time
- Fixed compilation on SLE_11_SP3 by making it build against Mesa-devel on that system
- Replace patch l-qclipboard_fix_recursive.patch with qtcore-4.8.5-qeventdispatcher-recursive.patch. The later one seems to work better and really resolves the issue in LibreOffice
- Added kde4_qt_plugin_path.patch, so kde4 plugins are magically found/known outside kde4 enviroment/session
- added _constraints. building took up to 7GB of disk space on s390x, and more than 6GB on x86_64
- Add 3 patches for Qt bugs to make LibreOffice KDE4 file
picker work properly again:
- Add glib-honor-ExcludeSocketNotifiers-flag.diff (QTBUG-37380)
- Add l-qclipboard_fix_recursive.patch (QTBUG-34614)
- Add l-qclipboard_delay.patch (QTBUG-38585)
- Record
SUSE-SU-2015:1359-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:1383-1 No score
Security update for libqt5-qtbase
This security update fixes the following issues:
- Add libqt5-Fix-a-division-by-zero-processing-malformed-BMP.patch
- QTBUG-44547, bsc#921999 (CVE-2015-0295)
- Add libqt5-Fixes-crash-in-bmp-and-ico-image-decoding.patch
- bsc#927806 (CVE-2015-1858), bsc#927807 (CVE-2015-1859)
- Add libqt5-Fixes-crash-in-gif-image-decoder.patch
- bsc#927808 (CVE-2015-1860)
- Add libqt5-fix-use-after-free-bug.patch from upstream
- fixes the use-after-free bug in backingstore, boo#870151
- Record
SUSE-SU-2015:1383-1- Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-0295 No score
The BMP decoder in QtGui in QT before 5.5 does not properly calculate the masks used to extract the color components, which allows remote attackers to cause a denial of service (divide-by-zero and crash) via a crafted BMP file.
- Record
UBUNTU-CVE-2015-0295- Updated
- 2026-11-02
OSVUSN-2626-1 No score
qt4-x11, qtbase-opensource-src vulnerabilities
Wolfgang Schenk discovered that Qt incorrectly handled certain malformed GIF images. If a user or automated system were tricked into opening a specially crafted GIF image, a remote attacker could use this issue to cause Qt to crash, resulting in a denial of service. This issue only applied to Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (CVE-2014-0190)
Fabian Vogt discovered that Qt incorrectly handled certain malformed BMP images. If a user or automated system were tricked into opening a specially crafted BMP image, a remote attacker could use this issue to cause Qt to crash, resulting in a denial of service. (CVE-2015-0295)
Richard Moore and Fabian Vogt discovered that Qt incorrectly handled certain malformed BMP images. If a user or automated system were tricked into opening a specially crafted BMP image, a remote attacker could use this issue to cause Qt to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-1858)
Richard Moore and Fabian Vogt discovered that Qt incorrectly handled certain malformed ICO images. If a user or automated system were tricked into opening a specially crafted ICO image, a remote attacker could use this issue to cause Qt to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-1859)
Richard Moore and Fabian Vogt discovered that Qt incorrectly handled certain malformed GIF images. If a user or automated system were tricked into opening a specially crafted GIF image, a remote attacker could use this issue to cause Qt to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-1860)
- Record
USN-2626-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
qtbase-opensource-srcDebian:12 |
before 5.3.2+dfsg-5 | 5.3.2+dfsg-5 |
qtbase-opensource-srcDebian:13 |
before 5.3.2+dfsg-5 | 5.3.2+dfsg-5 |
qtbase-opensource-srcDebian:14 |
before 5.3.2+dfsg-5 | 5.3.2+dfsg-5 |
qt4-x11Debian:6.0 From an advisory covering 5 CVEs |
before 4:4.6.3-4+squeeze3, plus listed versions 4:4.6.3-44:4.6.3-4+squeeze14:4.6.3-4+squeeze2 |
4:4.6.3-4+squeeze3 |
qt3Mageia:4 |
before 3.3.8b-33.3.mga4 | 3.3.8b-33.3.mga4 |
qt4Mageia:4 |
before 4.8.6-1.2.mga4 | 4.8.6-1.2.mga4 |
qtbase5Mageia:4 |
before 5.2.0-2.4.mga4 | 5.2.0-2.4.mga4 |
libqt4SUSE:Linux Enterprise Desktop 12 From an advisory covering 4 CVEs |
before 4.8.6-4.2 | 4.8.6-4.2 |
libqt4-sql-pluginsSUSE:Linux Enterprise Desktop 12 From an advisory covering 4 CVEs |
before 4.8.6-4.1 | 4.8.6-4.1 |
libqt4SUSE:Linux Enterprise Software Development Kit 12 From an advisory covering 4 CVEs |
before 4.8.6-4.2 | 4.8.6-4.2 |
Show 20 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libqt4-devel-docSUSE:Linux Enterprise Software Development Kit 12 From an advisory covering 4 CVEs |
before 4.8.6-4.6 | 4.8.6-4.6 |
libqt4-sql-pluginsSUSE:Linux Enterprise Software Development Kit 12 From an advisory covering 4 CVEs |
before 4.8.6-4.1 | 4.8.6-4.1 |
libqt4SUSE:Linux Enterprise Server 12 From an advisory covering 4 CVEs |
before 4.8.6-4.2 | 4.8.6-4.2 |
libqt4-devel-docSUSE:Linux Enterprise Server 12 From an advisory covering 4 CVEs |
before 4.8.6-4.6 | 4.8.6-4.6 |
libqt4-sql-pluginsSUSE:Linux Enterprise Server 12 From an advisory covering 4 CVEs |
before 4.8.6-4.1 | 4.8.6-4.1 |
libqt4SUSE:Linux Enterprise Server for SAP Applications 12 From an advisory covering 4 CVEs |
before 4.8.6-4.2 | 4.8.6-4.2 |
libqt4-devel-docSUSE:Linux Enterprise Server for SAP Applications 12 From an advisory covering 4 CVEs |
before 4.8.6-4.6 | 4.8.6-4.6 |
libqt4-sql-pluginsSUSE:Linux Enterprise Server for SAP Applications 12 From an advisory covering 4 CVEs |
before 4.8.6-4.1 | 4.8.6-4.1 |
libqt4SUSE:Linux Enterprise Workstation Extension 12 From an advisory covering 4 CVEs |
before 4.8.6-4.2 | 4.8.6-4.2 |
libqt4-sql-pluginsSUSE:Linux Enterprise Workstation Extension 12 From an advisory covering 4 CVEs |
before 4.8.6-4.1 | 4.8.6-4.1 |
libqt5-qtbaseSUSE:Linux Enterprise Desktop 12 From an advisory covering 4 CVEs |
before 5.3.1-4.4.2 | 5.3.1-4.4.2 |
libqt5-qtbaseSUSE:Linux Enterprise Software Development Kit 12 From an advisory covering 4 CVEs |
before 5.3.1-4.4.2 | 5.3.1-4.4.2 |
libqt5-qtbaseSUSE:Linux Enterprise Server 12 From an advisory covering 4 CVEs |
before 5.3.1-4.4.2 | 5.3.1-4.4.2 |
libqt5-qtbaseSUSE:Linux Enterprise Server for SAP Applications 12 From an advisory covering 4 CVEs |
before 5.3.1-4.4.2 | 5.3.1-4.4.2 |
qt4-x11Ubuntu:14.04:LTS |
before 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1, plus listed versions 4:4.8.4+dfsg-0ubuntu184:4.8.4+dfsg-0ubuntu194:4.8.4+dfsg-0ubuntu204:4.8.4+dfsg-0ubuntu214:4.8.4+dfsg-0ubuntu224:4.8.5+git192-g085f851+dfsg-2ubuntu34:4.8.5+git192-g085f851+dfsg-2ubuntu4 |
4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 |
qtbase-opensource-srcUbuntu:14.04:LTS |
before 5.2.1+dfsg-1ubuntu14.3, plus listed versions 5.0.2+dfsg1-7ubuntu115.0.2+dfsg1-7ubuntu125.0.2+dfsg1-7ubuntu135.0.2+dfsg1-7ubuntu145.0.2+dfsg1-7ubuntu15 Show 11 moreShow less5.0.2+dfsg1-7ubuntu165.0.2+dfsg1-7ubuntu175.0.2+dfsg1-7ubuntu185.2.1+dfsg-1ubuntu75.2.1+dfsg-1ubuntu85.2.1+dfsg-1ubuntu95.2.1+dfsg-1ubuntu105.2.1+dfsg-1ubuntu115.2.1+dfsg-1ubuntu135.2.1+dfsg-1ubuntu145.2.1+dfsg-1ubuntu14.2 |
5.2.1+dfsg-1ubuntu14.3 |
qt4-x11Ubuntu:14.04:LTS From an advisory covering 5 CVEs |
before 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1, plus listed versions 4:4.8.4+dfsg-0ubuntu184:4.8.4+dfsg-0ubuntu194:4.8.4+dfsg-0ubuntu204:4.8.4+dfsg-0ubuntu214:4.8.4+dfsg-0ubuntu224:4.8.5+git192-g085f851+dfsg-2ubuntu34:4.8.5+git192-g085f851+dfsg-2ubuntu4 |
4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 |
qtbase-opensource-srcUbuntu:14.04:LTS From an advisory covering 5 CVEs |
before 5.2.1+dfsg-1ubuntu14.3, plus listed versions 5.0.2+dfsg1-7ubuntu115.0.2+dfsg1-7ubuntu125.0.2+dfsg1-7ubuntu135.0.2+dfsg1-7ubuntu145.0.2+dfsg1-7ubuntu15 Show 11 moreShow less5.0.2+dfsg1-7ubuntu165.0.2+dfsg1-7ubuntu175.0.2+dfsg1-7ubuntu185.2.1+dfsg-1ubuntu75.2.1+dfsg-1ubuntu85.2.1+dfsg-1ubuntu95.2.1+dfsg-1ubuntu105.2.1+dfsg-1ubuntu115.2.1+dfsg-1ubuntu135.2.1+dfsg-1ubuntu145.2.1+dfsg-1ubuntu14.2 |
5.2.1+dfsg-1ubuntu14.3 |
qt3openSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 3.3.8c-140.6 | 3.3.8c-140.6 |
libqt5-qtbaseopenSUSE:Tumbleweed |
before 5.7.0-2.2 | 5.7.0-2.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-0295 is a medium vulnerability (CVSS 5.0) in Digia Qt, published March 12, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.07%, the 93rd percentile. Fixed in qtbase-opensource-src 5.3.2+dfsg-5.
References
securityfocus.com/bid/73029
lists.qt-project.org/pipermail/announce/2015-February/000059.html
lists.fedoraproject.org/pipermail/package-announce/2015-March/151034.html
lists.fedoraproject.org/pipermail/package-announce/2015-March/151352.html
lists.opensuse.org/opensuse-updates/2015-03/msg00068.html
lists.fedoraproject.org/pipermail/package-announce/2015-March/151138.html
Show 39 moreShow less
lists.fedoraproject.org/pipermail/package-announce/2015-March/150800.html
ubuntu.com/usn/USN-2626-1
lists.fedoraproject.org/pipermail/package-announce/2015-March/150940.html
lists.fedoraproject.org/pipermail/package-announce/2015-March/151121.html
nvd.nist.gov/vuln/detail/CVE-2015-0295
github.com/advisories/GHSA-8p7m-hxqm-w38g
security-tracker.debian.org/tracker/CVE-2015-0295
advisories.mageia.org/MGASA-2015-0105.html
bugs.mageia.org/show_bug.cgi?id=15383
bugreports.qt.io/browse/QTBUG-44547
suse.com/support/update/announcement/2015/suse-su-20150977-1
bugzilla.suse.com/921999
bugzilla.suse.com/927806
bugzilla.suse.com/927807
bugzilla.suse.com/927808
suse.com/security/cve/CVE-2015-0295
suse.com/security/cve/CVE-2015-1858
suse.com/security/cve/CVE-2015-1859
suse.com/security/cve/CVE-2015-1860
suse.com/support/update/announcement/2015/suse-su-20151359-1
bugzilla.suse.com/847880
bugzilla.suse.com/929688
suse.com/support/update/announcement/2015/suse-su-20151383-1
bugzilla.suse.com/870151
ubuntu.com/security/CVE-2015-0295
ubuntu.com/security/notices/USN-2626-1
cve.org/CVERecord?id=CVE-2015-0295
ubuntu.com/security/CVE-2014-0190
ubuntu.com/security/CVE-2015-1858
ubuntu.com/security/CVE-2015-1859
ubuntu.com/security/CVE-2015-1860
suse.com/security/cve/CVE-2009-0945
suse.com/security/cve/CVE-2011-3193
suse.com/security/cve/CVE-2011-3922
suse.com/security/cve/CVE-2012-4929
suse.com/security/cve/CVE-2012-6093
suse.com/security/cve/CVE-2013-0254
suse.com/security/cve/CVE-2013-4549
suse.com/security/cve/CVE-2014-0190