CVE-2017-6311
High · 7.5CVSS
7.5
EPSS
3.5%
Published
Mar 10, 2017
CISA due date
—
Cloudanix analysis
A flaw in image handling code can make programs crash when they encounter certain problematic files, interrupting any services that rely on thumbnail creation.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
NULL pointer dereference in gdk-pixbuf-thumbnailer.c error handling path causes application crash when printing an error message.
Why it matters to the business
Denial of service through repeated crashes in image thumbnail generation and processing applications, disrupting workflows dependent on gdk-pixbuf.
How an attack unfolds
An attacker supplies a malformed image that triggers an error condition during thumbnail processing; the error printing code then dereferences a NULL pointer, crashing the application.
How to fix it
Upgrade gdk-pixbuf to the fixed commit 31c0a1f43aaeddef706057065e38bbfc205dbbe0 or later versions containing the patch.
How to confirm the fix worked
Confirm the presence of commit 31c0a1f43aaeddef706057065e38bbfc205dbbe0 in the source tree and test thumbnail generation with previously crashing inputs to verify stability.
Typical attack path
- Craft a malformed image file designed to invoke the error path
- Deliver the file to a target application using gdk-pixbuf for thumbnail generation
- Trigger thumbnail processing to reach the NULL dereference
- Observe application crash resulting in denial of service
How to detect it
Review application crash logs and core dumps for references to gdk-pixbuf-thumbnailer.c and NULL dereference during error message handling; correlate with image processing events.
What your security team should do
- Apply the upstream fix to reach the patched commit immediately
- Replace vulnerable gdk-pixbuf packages across all affected systems
- Implement input validation or sandboxing for image processing where feasible
The record
gdk-pixbuf-thumbnailer.c in gdk-pixbuf allows context-dependent attackers to cause a denial of service (NULL pointer dereference and application crash) via vectors related to printing an error message.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.10 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.11 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.12 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.13 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.14 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.15 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.16 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.17 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.18 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.19 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.20 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.21 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.22 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.5 | gdk-pixbuf | 0 | 2.36.6-r0 |
| Alpine:v3.6 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.7 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.8 | gdk-pixbuf | 0 | 2.36.6-r1 |
| Alpine:v3.9 | gdk-pixbuf | 0 | 2.36.6-r1 |
| 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 |
| Mageia:5 | gdk-pixbuf2.0 | 0 | 2.32.3-1.1.mga5 |
| Mageia:6 | gdk-pixbuf2.0 | 0 | 2.36.10-1.1.mga6 |
| Ubuntu:14.04:LTS | gdk-pixbuf | 0 | 2.30.7-0ubuntu1.7 |
| Ubuntu:16.04:LTS | gdk-pixbuf | 0 | 2.32.2-1ubuntu1.3 |
Related vulnerabilities
- CVE-2017-2862 An exploitable heap overflow vulnerability exists in the… Also affects gdk-pixbuf
- CVE-2017-2870 An exploitable integer overflow vulnerability exists in the tiff_image_parse… 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-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-2026-121522 In BuildKit versions v0.26.0 through v0.34.1, a specific build definition that resolves… CWE-476