CVE-2017-6313
Integer underflow in the load_resources function in io-icns.c in gdk-pixbuf allows context...
Integer underflow in the load_resources function in io-icns.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (out-of-bounds read and program crash) via a crafted image entry size in an ICO file.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.1
Integer underflow in the load_resources function in io-icns.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (out-of-bounds read and program crash) via a crafted image entry size in an ICO file.
- Record
CVE-2017-6313- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:P - Weakness
- CWE-191
- Updated
- 2026-11-02
CVE List No score
Integer underflow in the load_resources function in io-icns.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (out-of-bounds read and program crash) via a crafted image entry size in an ICO file.
- Record
CVE-2017-6313- Updated
- 2026-11-02
EUVDEUVD-2017-15374 No score
Integer underflow in the load_resources function in io-icns.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (out-of-bounds read and program crash) via a crafted image entry size in an ICO file.
- Record
EUVD-2017-15374- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mj7j-vpm3-62gc
7.1
Integer underflow in the load_resources function in io-icns.c in gdk-pixbuf allows context...
Integer underflow in the load_resources function in io-icns.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (out-of-bounds read and program crash) via a crafted image entry size in an ICO file.
- Record
GHSA-mj7j-vpm3-62gc- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Weakness
- CWE-191
- Updated
- 2026-11-02
OSVBELL-CVE-2017-6313
7.1
CVE-2017-6313 does not affect BellSoft software
- Record
BELL-CVE-2017-6313- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSV
7.1
Integer underflow in the load_resources function in io-icns.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (out-of-bounds read and program crash) via a crafted image entry size in an ICO file.
- Record
CVE-2017-6313- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-04
Show 7 moreShow less
OSVDEBIAN-CVE-2017-6313
7.1
Integer underflow in the load_resources function in io-icns.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (out-of-bounds read and program crash) via a crafted image entry size in an ICO file.
- Record
DEBIAN-CVE-2017-6313- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-6313
7.1
Integer underflow in the load_resources function in io-icns.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (out-of-bounds read and program crash) via a crafted image entry size in an ICO file.
- Record
UBUNTU-CVE-2017-6313- CVSS 3.1
- 7.1 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H - CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0016 No score
Updated gdk-pixbuf2.0 packages fix security vulnerability
JPEG gdk_pixbuf__jpeg_image_load_increment Code Execution Vulnerability (CVE-2017-2862).
tiff_image_parse Code Execution Vulnerability (CVE-2017-2870).
Ariel Zelivansky discovered that the GDK-PixBuf library did not properly handle printing certain error messages. If an user or automated system were tricked into opening a specially crafted image file, a remote attacker could use this flaw to cause GDK-PixBuf to crash, resulting in a denial of service (CVE-2017-6311).
Out-of-bounds read on io-ico.c (CVE-2017-6312).
A dangerous integer underflow in io-icns.c (CVE-2017-6313).
Infinite loop in io-tiff.c (CVE-2017-6314).
Note, the CVE-2017-2862, CVE-2017-2870, and CVE-2017-6311 issues only affected Mageia 5.
- Record
MGASA-2018-0016- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10779-1 No score
gdk-pixbuf-devel-2.42.6-3.2 on GA media
These are all security issues fixed in the gdk-pixbuf-devel-2.42.6-3.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10779-1- Updated
- 2026-11-02
OSVSUSE-SU-2017:2381-1 No score
Security update for gdk-pixbuf
This update for gdk-pixbuf fixes the following issues:
- CVE-2017-2862: JPEG gdk_pixbuf__jpeg_image_load_increment Code Execution Vulnerability (bsc#1048289)
- CVE-2017-2870: tiff_image_parse Code Execution Vulnerability (bsc#1048544)
- CVE-2017-6313: A dangerous integer underflow in io-icns.c (bsc#1027024)
- CVE-2017-6314: Infinite loop in io-tiff.c (bsc#1027025)
- CVE-2017-6312: Out-of-bounds read on io-ico.c (bsc#1027026)
- Record
SUSE-SU-2017:2381-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:2470-1 No score
Security update for gtk2
This update for gtk2 provides the following fixes:
These security issues were fixed:
- CVE-2017-6312: Prevent integer overflow that allowed context-dependent attackers to cause a denial of service (segmentation fault and application crash) via a crafted image entry offset in an ICO file (bsc#1027026).
- CVE-2017-6314: The make_available_at_least function allowed context-dependent attackers to cause a denial of service (infinite loop) via a large TIFF file (bsc#1027025).
- CVE-2017-6313: Prevent integer underflow in the load_resources function that allowed context-dependent attackers to cause a denial of service (out-of-bounds read and program crash) via a crafted image entry size in an ICO file (bsc#1027024).
- CVE-2017-2862: Prevent heap overflow in the gdk_pixbuf__jpeg_image_load_increment function. A specially crafted jpeg file could have caused a heap overflow resulting in remote code execution (bsc#1048289)
- CVE-2017-2870: Prevent integer overflow in the tiff_image_parse functionality. A specially crafted tiff file could have caused a heap-overflow resulting in remote code execution (bsc#1048544).
This non-security issue was fixed:
- Prevent an infinite loop when a window is destroyed while traversed (bsc#1039465).
- Record
SUSE-SU-2018:2470-1- Updated
- 2026-11-02
OSVUSN-3532-1 No score
gdk-pixbuf vulnerabilities
It was discoreved that GDK-PixBuf incorrectly handled certain gif images. An attacker could use this to execute arbitrary code. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2017-1000422)
Ariel Zelivansky discovered that GDK-PixBuf incorrectly handled certain images. An attacker could use this to cause a denial of service. (CVE-2017-6312, CVE-2017-6313)
Ariel Zelivansky discovered that GDK-PixBuf incorrectly handled large TIFF files. An attacker could use this to cause a denial of service. (CVE-2017-6314)
- Record
USN-3532-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gdk-pixbufDebian:12 |
before 2.36.11-2 | 2.36.11-2 |
gdk-pixbufDebian:13 |
before 2.36.11-2 | 2.36.11-2 |
gdk-pixbufDebian:14 |
before 2.36.11-2 | 2.36.11-2 |
gdk-pixbufDebian:8 From an advisory covering 5 CVEs |
before 2.31.1-2+deb8u8, plus listed versions 2.31.1-22.31.1-2+deb8u12.31.1-2+deb8u22.31.1-2+deb8u32.31.1-2+deb8u4 Show 6 moreShow less2.31.1-2+deb8u4+kbsd8u12.31.1-2+deb8u52.31.1-2+deb8u5+kbsd8u12.31.1-2+deb8u5+kbsd8u22.31.1-2+deb8u62.31.1-2+deb8u7 |
2.31.1-2+deb8u8 |
gdk-pixbuf2.0Mageia:5 From an advisory covering 6 CVEs |
before 2.32.3-1.1.mga5 | 2.32.3-1.1.mga5 |
gdk-pixbuf2.0Mageia:6 From an advisory covering 6 CVEs |
before 2.36.10-1.1.mga6 | 2.36.10-1.1.mga6 |
gdk-pixbufSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 5 CVEs |
before 2.34.0-19.5.1 | 2.34.0-19.5.1 |
gdk-pixbufSUSE:Linux Enterprise Desktop 12 SP3 From an advisory covering 5 CVEs |
before 2.34.0-19.5.1 | 2.34.0-19.5.1 |
gdk-pixbufSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 5 CVEs |
before 2.34.0-19.5.1 | 2.34.0-19.5.1 |
gdk-pixbufSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 5 CVEs |
before 2.34.0-19.5.1 | 2.34.0-19.5.1 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gdk-pixbufSUSE:Linux Enterprise Software Development Kit 12 SP3 From an advisory covering 5 CVEs |
before 2.34.0-19.5.1 | 2.34.0-19.5.1 |
gdk-pixbufSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 5 CVEs |
before 2.34.0-19.5.1 | 2.34.0-19.5.1 |
gdk-pixbufSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 5 CVEs |
before 2.34.0-19.5.1 | 2.34.0-19.5.1 |
gdk-pixbufSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 5 CVEs |
before 2.34.0-19.5.1 | 2.34.0-19.5.1 |
gdk-pixbufSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 5 CVEs |
before 2.34.0-19.5.1 | 2.34.0-19.5.1 |
gtk2SUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 5 CVEs |
before 2.18.9-0.45.8.1 | 2.18.9-0.45.8.1 |
gtk2SUSE:Linux Enterprise Server 11 SP4 From an advisory covering 5 CVEs |
before 2.18.9-0.45.8.1 | 2.18.9-0.45.8.1 |
gtk2SUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 5 CVEs |
before 2.18.9-0.45.8.1 | 2.18.9-0.45.8.1 |
gdk-pixbufUbuntu:14.04:LTS |
before 2.30.7-0ubuntu1.8, plus listed versions 2.28.1-1ubuntu22.30.0-0ubuntu22.30.1-0ubuntu22.30.2-0ubuntu12.30.2-0ubuntu2 Show 9 moreShow less2.30.3-0ubuntu12.30.4-0ubuntu12.30.5-0ubuntu12.30.6-12.30.7-0ubuntu12.30.7-0ubuntu1.12.30.7-0ubuntu1.22.30.7-0ubuntu1.62.30.7-0ubuntu1.7 |
2.30.7-0ubuntu1.8 |
gdk-pixbufUbuntu:16.04:LTS |
before 2.32.2-1ubuntu1.4, plus listed versions 2.32.1-12.32.2-12.32.2-1ubuntu12.32.2-1ubuntu1.22.32.2-1ubuntu1.3 |
2.32.2-1ubuntu1.4 |
gdk-pixbufUbuntu:14.04:LTS From an advisory covering 4 CVEs |
before 2.30.7-0ubuntu1.8, plus listed versions 2.28.1-1ubuntu22.30.0-0ubuntu22.30.1-0ubuntu22.30.2-0ubuntu12.30.2-0ubuntu2 Show 9 moreShow less2.30.3-0ubuntu12.30.4-0ubuntu12.30.5-0ubuntu12.30.6-12.30.7-0ubuntu12.30.7-0ubuntu1.12.30.7-0ubuntu1.22.30.7-0ubuntu1.62.30.7-0ubuntu1.7 |
2.30.7-0ubuntu1.8 |
gdk-pixbufUbuntu:16.04:LTS From an advisory covering 4 CVEs |
before 2.32.2-1ubuntu1.4, plus listed versions 2.32.1-12.32.2-12.32.2-1ubuntu12.32.2-1ubuntu1.22.32.2-1ubuntu1.3 |
2.32.2-1ubuntu1.4 |
gdk-pixbufopenSUSE:Tumbleweed From an advisory covering 5 CVEs |
before 2.42.6-3.2 | 2.42.6-3.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| 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-2017-6313 is a high vulnerability (CVSS 7.1) in Gnome Gdk-pixbuf, published March 9, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.93%, the 80th percentile. Fixed in gdk-pixbuf 2.36.11-2.
References
openwall.com/lists/oss-security/2017/02/21/4
bugzilla.gnome.org/show_bug.cgi?id=779016
securityfocus.com/bid/96779
mov.sx/2017/02/21/bug-hunting-gdk-pixbuf.html
openwall.com/lists/oss-security/2017/02/26/1
security.gentoo.org/glsa/201709-08
Show 34 moreShow less
lists.debian.org/debian-lts-announce/2019/12/msg00025.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SJF5ARFOX4BFUK6YCBKGAKBQYECO3AI2
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VSAZ6UCKKXC5VOWXGWQHOX2ZBLLATIOT
nvd.nist.gov/vuln/detail/CVE-2017-6313
lists.fedoraproject.org/archives/list/[email protected]/message/SJF5ARFOX4BFUK6YCBKGAKBQYECO3AI2
lists.fedoraproject.org/archives/list/[email protected]/message/VSAZ6UCKKXC5VOWXGWQHOX2ZBLLATIOT
github.com/advisories/GHSA-mj7j-vpm3-62gc
docs.bell-sw.com/security/cves/CVE-2017-6313
security-tracker.debian.org/tracker/CVE-2017-6313
advisories.mageia.org/MGASA-2018-0016.html
bugs.mageia.org/show_bug.cgi?id=21680
usn.ubuntu.com/usn/usn-3418-1
lists.opensuse.org/opensuse-updates/2017-09/msg00031.html
suse.com/support/update/announcement/2017/suse-su-20172381-1
bugzilla.suse.com/1027024
bugzilla.suse.com/1027025
bugzilla.suse.com/1027026
bugzilla.suse.com/1048289
bugzilla.suse.com/1048544
bugzilla.suse.com/1049877
suse.com/security/cve/CVE-2017-2862
suse.com/security/cve/CVE-2017-2870
suse.com/security/cve/CVE-2017-6312
suse.com/security/cve/CVE-2017-6313
suse.com/security/cve/CVE-2017-6314
suse.com/support/update/announcement/2018/suse-su-20182470-1
bugzilla.suse.com/1039465
ubuntu.com/security/CVE-2017-6313
ubuntu.com/security/notices/USN-3532-1
cve.org/CVERecord?id=CVE-2017-6313
ubuntu.com/security/CVE-2017-6312
ubuntu.com/security/CVE-2017-6314
ubuntu.com/security/CVE-2017-1000422
suse.com/security/cve/CVE-2020-29385