Name
gdk-pixbuf
Version
2.42.12
Type
library
Description
Image loading library for GTK+
Licenses
LGPL-2.1-or-later
PURL
-
CPE
cpe:2.3:*:gnome:gdk-pixbuf:2.42.12:*:*:*:*:*:*:*
Other Versions#
Patches#
#
Title
Author
Resolve
1
jpeg: Be more careful with chunked icc data
Matthias Clasen <mclasen@redhat.com>
CVE-2025-7345
2
jpeg: Reject unsupported number of components
Matthias Clasen <mclasen@redhat.com>
CVE-2026-5201
3
gdk-pixbuf: add an option so that loader errors are fatal
Ross Burton <ross.burton@intel.com>
4
meson.build: allow (a subset of) tests in cross compile
Alexander Kanavin <alex@linutronix.de>
5
lzw: Fix reporting of bytes written in decoder
lumi <lumi@suwi.moe>
CVE-2025-6199
Vulnerabilities#
Name
Analysis
Description
Patched
A flaw was found in the gdk-pixbuf library. This heap-based buffer overflow vulnerability occurs in the JPEG image loader due to improper validation of color component counts when processing a specially crafted JPEG image. A remote attacker can exploit this flaw without user interaction, for example, via thumbnail generation. Successful exploitation leads to application crashes and denial of service (DoS) conditions.
Patched
A flaw exists in gdk‑pixbuf within the gdk_pixbuf__jpeg_image_load_increment function (io-jpeg.c) and in glib’s g_base64_encode_step (glib/gbase64.c). When processing maliciously crafted JPEG images, a heap buffer overflow can occur during Base64 encoding, allowing out-of-bounds reads from heap memory, potentially causing application crashes or arbitrary code execution.
Patched
A flaw was found in the GIF parser of GdkPixbuf’s LZW decoder. When an invalid symbol is encountered during decompression, the decoder sets the reported output size to the full buffer length rather than the actual number of written bytes. This logic error results in uninitialized sections of the buffer being included in the output, potentially leaking arbitrary memory contents in the processed image.
Exploitable
Integer overflow in the GTK+ gdk-pixbuf XPM image rendering library in GTK+ 2.4.0 allows attackers to execute arbitrary code via an XPM file with a number of colors that causes insufficient memory to be allocated, which leads to a heap-based buffer overflow.
Exploitable
io-xpm.c in the gdk-pixbuf XPM image rendering library in GTK+ before 2.8.7 allows attackers to cause a denial of service (infinite loop) via a crafted XPM image with a large number of colors.