CVE-2017-2870
High · 7.8CVSS
7.8
EPSS
2.6%
Published
Sep 5, 2017
CISA due date
—
Cloudanix analysis
A flaw in how certain programs handle special image files could let attackers run their own code on a computer if a bad file is opened or downloaded.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow in tiff_image_parse of Gdk-Pixbuf leads to heap overflow enabling remote code execution when processing a malicious TIFF image.
Why it matters to the business
Attackers can execute arbitrary code on systems that process untrusted images through affected libraries, potentially leading to full system compromise; the affected Istio components have been addressed in current releases, reducing exposure for updated deployments.
How an attack unfolds
An attacker crafts a malicious TIFF file that triggers the integer overflow during parsing; the file is delivered via local filesystem, download, or URL to any application using the vulnerable Gdk-Pixbuf library, resulting in heap corruption and arbitrary code execution.
How to fix it
Upgrade affected Istio pilot-agent packages to the fixed versions listed for each variant; rebuild any dependent containers with updated Gdk-Pixbuf libraries that resolve the overflow.
How to confirm the fix worked
Verify package versions against the provided fixed releases for each Istio variant; test image processing pipelines with known-good and malformed TIFF samples to confirm absence of overflow behavior.
Typical attack path
- Identify target application that processes TIFF images via Gdk-Pixbuf
- Craft malicious TIFF file exploiting integer overflow in tiff_image_parse
- Deliver file through local access, web download, or URL reference
- Trigger image parsing to cause heap overflow and gain code execution
How to detect it
Review application logs for unexpected crashes or errors during TIFF image processing; examine process memory dumps or core files for signs of heap corruption following image parsing.
What your security team should do
- Confirm all deployments use the fixed package versions for istio-pilot-agent variants
- Scan container images for outdated Gdk-Pixbuf dependencies
- Implement image format validation and sandboxing for untrusted TIFF processing
The record
An exploitable integer overflow vulnerability exists in the tiff_image_parse functionality of Gdk-Pixbuf 2.36.6 when compiled with Clang. A specially crafted tiff file can cause a heap-overflow resulting in remote code execution. An attacker can send a file or a URL to trigger this vulnerability.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | gdk-pixbuf | 0 | 2.36.10-1 |
| Debian:11 | gdk-pixbuf | 0 | 2.36.10-1 |
| Debian:12 | gdk-pixbuf | 0 | 2.36.10-1 |
| Debian:13 | gdk-pixbuf | 0 | 2.36.10-1 |
| Debian:14 | gdk-pixbuf | 0 | 2.36.10-1 |
| Debian:8 | gdk-pixbuf | 0 | 2.31.1-2+deb8u8 |
| Mageia:5 | gdk-pixbuf2.0 | 0 | 2.32.3-1.1.mga5 |
| Mageia:6 | gdk-pixbuf2.0 | 0 | 2.36.10-1.1.mga6 |
| SUSE:Linux Enterprise Desktop 12 SP2 | gdk-pixbuf | 0 | 2.34.0-19.5.1 |
| SUSE:Linux Enterprise Desktop 12 SP3 | gdk-pixbuf | 0 | 2.34.0-19.5.1 |
| SUSE:Linux Enterprise Server 11 SP4 | gtk2 | 0 | 2.18.9-0.45.8.1 |
| SUSE:Linux Enterprise Server 12 SP2 | gdk-pixbuf | 0 | 2.34.0-19.5.1 |
| SUSE:Linux Enterprise Server 12 SP3 | gdk-pixbuf | 0 | 2.34.0-19.5.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | gdk-pixbuf | 0 | 2.34.0-19.5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 11 SP4 | gtk2 | 0 | 2.18.9-0.45.8.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | gdk-pixbuf | 0 | 2.34.0-19.5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | gdk-pixbuf | 0 | 2.34.0-19.5.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | gtk2 | 0 | 2.18.9-0.45.8.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP2 | gdk-pixbuf | 0 | 2.34.0-19.5.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP3 | gdk-pixbuf | 0 | 2.34.0-19.5.1 |
| Ubuntu:14.04:LTS | gdk-pixbuf | 0 | 2.30.7-0ubuntu1.7 |
| Ubuntu:16.04:LTS | gdk-pixbuf | 0 | 2.32.2-1ubuntu1.3 |
| openSUSE:Tumbleweed | gdk-pixbuf | 0 | 2.42.6-3.2 |
Related vulnerabilities
- CVE-2017-6311 gdk-pixbuf-thumbnailer.c in gdk-pixbuf allows context-dependent attackers to cause a… Also affects gdk-pixbuf
- CVE-2025-7345 A flaw exists in gdk‑pixbuf within the gdk_pixbuf__jpeg_image_load_increment function… Also affects gdk-pixbuf
- CVE-2025-6199 A flaw was found in the GIF parser of GdkPixbuf’s LZW decoder. Also affects gdk-pixbuf
- CVE-2017-2862 An exploitable heap overflow vulnerability exists in the… Also affects gdk-pixbuf
- CVE-2015-7552 Heap-based buffer overflow in the gdk_pixbuf_flip function in gdk-pixbuf-scale.c in… Also affects gdk-pixbuf
- CVE-2015-7673 io-tga.c in gdk-pixbuf before 2.32.0 uses heap memory after its allocation failed, which… Also affects gdk-pixbuf
- CVE-2015-4491 Integer overflow in the make_filter_table function in pixops/pixops.c in gdk-pixbuf… Also affects gdk-pixbuf
- CVE-2013-7447 Integer overflow in the gdk_cairo_set_source_pixbuf function in gdk/gdkcairo.c in GTK+… Also affects gtk2