
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-5201 is a heap-based buffer overflow vulnerability in the GNOME gdk-pixbuf library's JPEG image loader, enabling remote denial of service without user interaction. The flaw was disclosed on March 31, 2026, and affects GNOME gdk-pixbuf (all tracked versions), Red Hat Enterprise Linux 7, 8, 9, and 10, IBM App Connect Enterprise Certified Container, and Microsoft Azure Linux 3 (gdk-pixbuf2 2.42.10-4). It carries a CVSS v3.1 base score of 7.5 (High) (Red Hat CVE, GitHub Advisory).
The root cause (CWE-122: Heap-based Buffer Overflow) lies in the gdk_pixbuf__jpeg_image_load() function, which improperly validates the number of color components declared in a crafted JPEG image. This causes insufficient memory to be allocated for pixel data; when libjpeg subsequently writes pixel data, it writes beyond the allocated heap buffer, resulting in heap corruption. An attacker can trigger this remotely by supplying a malicious JPEG — for example, via a service that performs automatic thumbnail generation — with no authentication or user interaction required. A public proof-of-concept repository (Python + C) demonstrates the crash using a 122-byte crafted JPEG and AddressSanitizer-confirmed heap overflow output (Red Hat Bugzilla, PoC GitHub).
Successful exploitation causes application crashes and denial of service in any process that uses gdk-pixbuf to load JPEG images, including desktop environments, image viewers, and server-side thumbnail generators. The confirmed impact is availability loss; Red Hat's analysis notes that claims of arbitrary code execution are not reliably substantiated and require unrealistic conditions, so confidentiality and integrity are not considered at risk under normal circumstances. The broad deployment of gdk-pixbuf across Linux distributions and container images means the affected asset scope is wide, spanning desktop workstations, servers, and containerized workloads (Red Hat Bugzilla, GitHub Advisory).
A public proof-of-concept exploit is available on GitHub (kagancapar/CVE-2026-5201), consisting of Python and C code that generates a malicious JPEG and triggers a demonstrable heap overflow crash; it was published on April 1, 2026 (PoC GitHub). As of the latest data, there is no evidence of in-the-wild exploitation or threat actor attribution. The vulnerability is not listed in the CISA KEV catalog. The EPSS score is approximately 0.118% (Feedly data) to 0.746% (GitHub Advisory, 73rd percentile), indicating a low-to-moderate probability of exploitation in the near term (GitHub Advisory).
python3 reproducer/craft_cve_2026_5201.py) to generate a 122-byte JPEG with a manipulated color component count field that causes gdk-pixbuf to under-allocate heap memory for pixel data.gdk_pixbuf__jpeg_image_load() processes the image, libjpeg writes pixel data beyond the allocated buffer, causing heap corruption and an application crash (DoS). Compile and run crash_test.c locally to verify: gcc -o crash_test reproducer/crash_test.c && ./crash_test cve_2026_5201.jpg (PoC GitHub, Red Hat Bugzilla).eog, nautilus, gnome-shell, thumbnail daemon processes, or custom image-processing services); AddressSanitizer output referencing heap-buffer-overflow in gdk_pixbuf__jpeg_image_load().Vendors have released patched packages across all major affected distributions. For Red Hat Enterprise Linux, apply the relevant errata: RHSA-2026:10707 (RHEL 10), RHSA-2026:10708 (RHEL 9), RHSA-2026:10741 (RHEL 8), RHSA-2026:12114 (RHEL 7), and additional EUS/AUS/TUS advisories as applicable — the fixed package version for RHEL 10 is gdk-pixbuf2-2.42.12-4.el10_1.5 (Red Hat Errata). Patches are also available for Debian (DSA-6206-1, DLA-4531-1), Ubuntu (USN-8156-1, USN-8156-2), SUSE/openSUSE, Amazon Linux 2 and AL2023, Mageia, and IBM App Connect Enterprise Certified Container (GitHub Advisory, IBM Advisory). As a short-term workaround where patching is not immediately possible, restrict or sandbox services that process untrusted JPEG images, or disable JPEG thumbnail generation for untrusted content sources.
Red Hat rated the advisory as "Important" severity and issued multiple errata covering RHEL 7 through 10 and various EUS/AUS/TUS streams within approximately four weeks of disclosure (Red Hat Errata). The vulnerability received broad distribution-level attention, with Debian, Ubuntu, SUSE, openSUSE, Amazon Linux, Mageia, Oracle Linux, Rocky Linux, and AlmaLinux all issuing security advisories. Social media accounts including @thehackerwire and @RedPacketSecurity on Mastodon noted the CVE shortly after publication. The GNOME project tracked the issue via GitLab issue #304 (GNOME GitLab).
Fix availability across major Linux distributions and their releases.
bookworm
gdk-pixbuf: 2.42.10+dfsg-1+deb12u4
sid
gdk-pixbuf: 2.44.6+dfsg-1
trixie
gdk-pixbuf: 2.42.12+dfsg-4+deb13u1
bionic (esm-infra)
gdk-pixbuf: 2.36.11-2ubuntu0.1~esm3
devel
gdk-pixbuf
focal (esm-infra)
gdk-pixbuf: 2.40.0+dfsg-3ubuntu0.5+esm3
jammy
gdk-pixbuf: 2.42.8+dfsg-1ubuntu0.5
noble
gdk-pixbuf: 2.42.10+dfsg-3ubuntu3.3
questing
gdk-pixbuf: 2.42.12+dfsg-5ubuntu0.1
resolute
gdk-pixbuf
xenial (esm-infra-legacy)
gdk-pixbuf: 2.32.2-1ubuntu1.6+esm3
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."