Every CVE Search/ Get API key

CVE-2015-0295

The BMP decoder in QtGui in QT before 5.5 does not properly calculate the masks used to extract...

5.0 MediumFix available

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

6.07%Up 3.9 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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

Affected packages
PackageAffectedFixed
qtbase-opensource-src
Debian:12
before 5.3.2+dfsg-5
5.3.2+dfsg-5
qtbase-opensource-src
Debian:13
before 5.3.2+dfsg-5
5.3.2+dfsg-5
qtbase-opensource-src
Debian:14
before 5.3.2+dfsg-5
5.3.2+dfsg-5
qt4-x11
Debian: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
qt3
Mageia:4
before 3.3.8b-33.3.mga4
3.3.8b-33.3.mga4
qt4
Mageia:4
before 4.8.6-1.2.mga4
4.8.6-1.2.mga4
qtbase5
Mageia:4
before 5.2.0-2.4.mga4
5.2.0-2.4.mga4
libqt4
SUSE:Linux Enterprise Desktop 12
From an advisory covering 4 CVEs
before 4.8.6-4.2
4.8.6-4.2
libqt4-sql-plugins
SUSE:Linux Enterprise Desktop 12
From an advisory covering 4 CVEs
before 4.8.6-4.1
4.8.6-4.1
libqt4
SUSE: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
Affected packages
PackageAffectedFixed
libqt4-devel-doc
SUSE: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-plugins
SUSE:Linux Enterprise Software Development Kit 12
From an advisory covering 4 CVEs
before 4.8.6-4.1
4.8.6-4.1
libqt4
SUSE:Linux Enterprise Server 12
From an advisory covering 4 CVEs
before 4.8.6-4.2
4.8.6-4.2
libqt4-devel-doc
SUSE:Linux Enterprise Server 12
From an advisory covering 4 CVEs
before 4.8.6-4.6
4.8.6-4.6
libqt4-sql-plugins
SUSE:Linux Enterprise Server 12
From an advisory covering 4 CVEs
before 4.8.6-4.1
4.8.6-4.1
libqt4
SUSE: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-doc
SUSE: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-plugins
SUSE:Linux Enterprise Server for SAP Applications 12
From an advisory covering 4 CVEs
before 4.8.6-4.1
4.8.6-4.1
libqt4
SUSE:Linux Enterprise Workstation Extension 12
From an advisory covering 4 CVEs
before 4.8.6-4.2
4.8.6-4.2
libqt4-sql-plugins
SUSE:Linux Enterprise Workstation Extension 12
From an advisory covering 4 CVEs
before 4.8.6-4.1
4.8.6-4.1
libqt5-qtbase
SUSE:Linux Enterprise Desktop 12
From an advisory covering 4 CVEs
before 5.3.1-4.4.2
5.3.1-4.4.2
libqt5-qtbase
SUSE: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-qtbase
SUSE:Linux Enterprise Server 12
From an advisory covering 4 CVEs
before 5.3.1-4.4.2
5.3.1-4.4.2
libqt5-qtbase
SUSE: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-x11
Ubuntu: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-src
Ubuntu: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 less
5.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-x11
Ubuntu: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-src
Ubuntu: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 less
5.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
qt3
openSUSE:Tumbleweed
From an advisory covering 3 CVEs
before 3.3.8c-140.6
3.3.8c-140.6
libqt5-qtbase
openSUSE:Tumbleweed
before 5.7.0-2.2
5.7.0-2.2

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 39 moreShow less
MoveEnter Open