Every CVE Search/ Get API key

CVE-2017-6312

Integer overflow in io-ico.c in gdk-pixbuf allows context-dependent attackers to cause a denial...

5.5 MediumFix available

Integer overflow in io-ico.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (segmentation fault and application crash) via a crafted image entry offset in an ICO file, which triggers an out-of-bounds read, related to compiler optimizations.

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
None
Integrity
None
Availability
High

Exploit likelihood

2.02%Down 0.6 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

Integer overflow in io-ico.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (segmentation fault and application crash) via a crafted image entry offset in an ICO file, which triggers an out-of-bounds read, related to compiler optimizations.

Record
CVE-2017-6312
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-190
Updated
2026-11-02
CVE List No score

Integer overflow in io-ico.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (segmentation fault and application crash) via a crafted image entry offset in an ICO file, which triggers an out-of-bounds read, related to compiler optimizations.

Record
CVE-2017-6312
Updated
2026-11-02
EUVDEUVD-2017-15373 No score

Integer overflow in io-ico.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (segmentation fault and application crash) via a crafted image entry offset in an ICO file, which triggers an out-of-bounds read, related to compiler optimizations.

Record
EUVD-2017-15373
Updated
2026-11-03
GitHub AdvisoriesGHSA-mwm7-gxmj-5gmf 5.5

Integer overflow in io-ico.c in gdk-pixbuf allows context-dependent attackers to cause a denial...

Integer overflow in io-ico.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (segmentation fault and application crash) via a crafted image entry offset in an ICO file, which triggers an out-of-bounds read, related to compiler optimizations.

Record
GHSA-mwm7-gxmj-5gmf
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-190
Updated
2026-11-02
OSVALPINE-CVE-2017-6312 5.5

Integer overflow in io-ico.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (segmentation fault and application crash) via a crafted image entry offset in an ICO file, which triggers an out-of-bounds read, related to compiler optimizations.

Record
ALPINE-CVE-2017-6312
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVBELL-CVE-2017-6312 5.5

CVE-2017-6312 does not affect BellSoft software

Record
BELL-CVE-2017-6312
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 8 moreShow less
OSV 5.5

Integer overflow in io-ico.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (segmentation fault and application crash) via a crafted image entry offset in an ICO file, which triggers an out-of-bounds read, related to compiler optimizations.

Record
CVE-2017-6312
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-04
OSVDEBIAN-CVE-2017-6312 5.5

Integer overflow in io-ico.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (segmentation fault and application crash) via a crafted image entry offset in an ICO file, which triggers an out-of-bounds read, related to compiler optimizations.

Record
DEBIAN-CVE-2017-6312
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2017-6312 5.5

Integer overflow in io-ico.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (segmentation fault and application crash) via a crafted image entry offset in an ICO file, which triggers an out-of-bounds read, related to compiler optimizations.

Record
UBUNTU-CVE-2017-6312
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 3.0
5.5 MediumCVSS: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

Affected packages
PackageAffectedFixed
gdk-pixbuf
Alpine:v3.10
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.11
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.12
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.13
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.14
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.15
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.16
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.17
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.18
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.19
before 2.36.6-r1
2.36.6-r1
Show 32 moreShow less
Affected packages
PackageAffectedFixed
gdk-pixbuf
Alpine:v3.20
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.21
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.22
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.23
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.5
before 2.36.6-r0
2.36.6-r0
gdk-pixbuf
Alpine:v3.6
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.7
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.8
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Alpine:v3.9
before 2.36.6-r1
2.36.6-r1
gdk-pixbuf
Debian:12
before 2.36.11-2
2.36.11-2
gdk-pixbuf
Debian:13
before 2.36.11-2
2.36.11-2
gdk-pixbuf
Debian:14
before 2.36.11-2
2.36.11-2
gdk-pixbuf
Debian: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 less
2.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.0
Mageia:5
From an advisory covering 6 CVEs
before 2.32.3-1.1.mga5
2.32.3-1.1.mga5
gdk-pixbuf2.0
Mageia:6
From an advisory covering 6 CVEs
before 2.36.10-1.1.mga6
2.36.10-1.1.mga6
gdk-pixbuf
SUSE: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-pixbuf
SUSE: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-pixbuf
SUSE: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-pixbuf
SUSE: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
gdk-pixbuf
SUSE: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-pixbuf
SUSE: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-pixbuf
SUSE: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-pixbuf
SUSE: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-pixbuf
SUSE: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
gtk2
SUSE: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
gtk2
SUSE: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
gtk2
SUSE: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-pixbuf
Ubuntu: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 less
2.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-pixbuf
Ubuntu: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-pixbuf
Ubuntu: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 less
2.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-pixbuf
Ubuntu: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-pixbuf
openSUSE:Tumbleweed
From an advisory covering 5 CVEs
before 2.42.6-3.2
2.42.6-3.2

History

History
RecordedChangedSources
affected
factsOSV
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-6312 is a medium vulnerability (CVSS 5.5) 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 2.02%, the 81st percentile. Fixed in gdk-pixbuf 2.36.6-r1.

References

Show 35 moreShow less
MoveEnter Open