CVE-2015-7673
NoneCVSS
—
EPSS
5.4%
Published
Oct 26, 2015
CISA due date
—
Cloudanix analysis
A flaw in how certain programs read special image files can let attackers crash the program or take control of the computer by sending a bad picture file.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap memory is accessed after an allocation failure in io-tga.c during Truevision TGA file parsing, resulting in a heap-based buffer overflow that can lead to application crash or arbitrary code execution.
Why it matters to the business
Applications and systems that render or process image files may crash or be compromised when handling specially crafted TGA images, leading to service disruption and potential loss of control over affected workstations or servers.
How an attack unfolds
An attacker creates a malformed TGA file designed to trigger an allocation failure in the parser; when a victim application opens or previews the file, the flawed code path dereferences invalid heap memory, enabling overflow and potential code execution.
How to fix it
Upgrade gdk-pixbuf to version 2.32.0 or later on all affected systems; replace vulnerable packages in distributions such as openSUSE and GNOME environments.
How to confirm the fix worked
Verify installed gdk-pixbuf version is at least 2.32.0; attempt to open a known triggering TGA test file in an isolated environment and confirm absence of crash or overflow behavior.
Typical attack path
- Craft malicious TGA image file that forces allocation failure in io-tga.c
- Deliver file to target via email, web download, or shared storage
- Victim application loads or renders the image using gdk-pixbuf
- Parser enters error path that reuses freed heap memory
- Buffer overflow occurs, enabling crash or code execution
How to detect it
Review application crash logs and core dumps for references to io-tga.c or gdk-pixbuf during TGA file handling; correlate with file access events involving .tga extensions from untrusted sources.
What your security team should do
- Prioritize patching gdk-pixbuf to 2.32.0 or newer across all image-processing hosts
- Block or sanitize untrusted TGA files at email gateways and file upload points until patches are applied
- Monitor for application crashes when handling image files as a temporary detection signal
The record
io-tga.c in gdk-pixbuf before 2.32.0 uses heap memory after its allocation failed, which allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) and possibly execute arbitrary code via a crafted Truevision TGA (TARGA) file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | gdk-pixbuf | 0 | 2.32.0-1 |
| Debian:11 | gtk+2.0 | 0 | 2.21.5-1 |
| Debian:12 | gdk-pixbuf | 0 | 2.32.0-1 |
| Debian:12 | gtk+2.0 | 0 | 2.21.5-1 |
| Debian:13 | gdk-pixbuf | 0 | 2.32.0-1 |
| Debian:13 | gtk+2.0 | 0 | 2.21.5-1 |
| Debian:6.0 | gtk+2.0 | 0 | 2.20.1-2+deb6u2 |
| Debian:7 | gdk-pixbuf | 0 | 2.26.1-1+deb7u2 |
| Debian:8 | gdk-pixbuf | 0 | 2.31.1-2+deb8u3 |
| Mageia:5 | gdk-pixbuf2.0 | 0 | 2.32.1-1.mga5 |
| SUSE:Linux Enterprise Desktop 12 | gdk-pixbuf | 0 | 2.30.6-7.2 |
| SUSE:Linux Enterprise Desktop 12 SP1 | gdk-pixbuf | 0 | 2.30.6-7.2 |
| SUSE:Linux Enterprise Server 12 | gdk-pixbuf | 0 | 2.30.6-7.2 |
| SUSE:Linux Enterprise Server 12 SP1 | gdk-pixbuf | 0 | 2.30.6-7.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | gdk-pixbuf | 0 | 2.30.6-7.2 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP1 | gdk-pixbuf | 0 | 2.30.6-7.2 |
| SUSE:Linux Enterprise Software Development Kit 12 | gdk-pixbuf | 0 | 2.30.6-7.2 |
| SUSE:Linux Enterprise Software Development Kit 12 SP1 | gdk-pixbuf | 0 | 2.30.6-7.2 |
| Ubuntu:14.04:LTS | gdk-pixbuf | 0 | 2.30.7-0ubuntu1.2 |
| openSUSE:Tumbleweed | gdk-pixbuf | 0 | 2.36.0-1.1 |
Related vulnerabilities
- 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-4491 Integer overflow in the make_filter_table function in pixops/pixops.c in gdk-pixbuf… Also affects gdk-pixbuf
- CVE-2024-6655 A flaw was found in the GTK library. Also affects gtk+2.0
- CVE-2013-7447 Integer overflow in the gdk_cairo_set_source_pixbuf function in gdk/gdkcairo.c in GTK+… Also affects gtk+2.0
- CVE-2026-112108 A vulnerability was determined in ztxz16 fastllm up to 0.1.8.2. CWE-119
- CVE-2026-112073 A vulnerability was identified in Tencent ncnn up to 44b02dabdcf97499281a4692ebd65bad73dc… CWE-119
- CVE-2026-90831 A vulnerability was detected in GNU Binutils 2.47. CWE-119