CVE-2025-7345 Gdk‑pixbuf: heap‑buffer‑overflow in gdk‑pixbuf
Heap buffer overflow in gdk-pixbuf allows attackers to execute arbitrary code or crash applications via malicious JPEG images.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-7345?
CVE-2025-7345 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 8 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-120
Which versions are affected by CVE-2025-7345?
Linux distribution packages (40)
gdk-pixbuf2 AlmaLinux:8 | All versions | 2.36.12-7.el8_10 |
gdk-pixbuf2-devel AlmaLinux:8 | All versions | 2.36.12-7.el8_10 |
gdk-pixbuf2-modules AlmaLinux:8 | All versions | 2.36.12-7.el8_10 |
gdk-pixbuf2-xlib AlmaLinux:8 | All versions | 2.36.12-7.el8_10 |
gdk-pixbuf2-xlib-devel AlmaLinux:8 | All versions | 2.36.12-7.el8_10 |
gdk-pixbuf2 Red Hat:enterprise_linux:10.0 | All versions | 0:2.42.12-4.el10_0 |
gdk-pixbuf2-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 0:2.42.12-4.el10_0 |
gdk-pixbuf2-debugsource Red Hat:enterprise_linux:10.0 | All versions | 0:2.42.12-4.el10_0 |
gdk-pixbuf2-devel Red Hat:enterprise_linux:10.0 | All versions | 0:2.42.12-4.el10_0 |
gdk-pixbuf2-devel-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 0:2.42.12-4.el10_0 |
gdk-pixbuf2-modules Red Hat:enterprise_linux:10.0 | All versions | 0:2.42.12-4.el10_0 |
gdk-pixbuf2-modules-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 0:2.42.12-4.el10_0 |
gdk-pixbuf2-tests-debuginfo Red Hat:enterprise_linux:10.0 | All versions | 0:2.42.12-4.el10_0 |
gdk-pixbuf2-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-debugsource Red Hat:enterprise_linux:8::appstream | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-devel Red Hat:enterprise_linux:8::appstream | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-devel-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-modules Red Hat:enterprise_linux:8::appstream | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-modules-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-tests-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-xlib-debuginfo Red Hat:enterprise_linux:8::appstream | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2 Red Hat:enterprise_linux:8::baseos | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-devel-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-modules-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-tests-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-xlib-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-debugsource Red Hat:enterprise_linux:8::crb | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-devel-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-modules-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-tests-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-xlib Red Hat:enterprise_linux:8::crb | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-xlib-debuginfo Red Hat:enterprise_linux:8::crb | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2-xlib-devel Red Hat:enterprise_linux:8::crb | All versions | 0:2.36.12-7.el8_10 |
gdk-pixbuf2 Red Hat:enterprise_linux:9::appstream | All versions | 0:2.42.6-6.el9_6 |
gdk-pixbuf2-debuginfo Red Hat:enterprise_linux:9::appstream | All versions | 0:2.42.6-6.el9_6 |
gdk-pixbuf2-debugsource Red Hat:enterprise_linux:9::appstream | All versions | 0:2.42.6-6.el9_6 |
gdk-pixbuf2-devel Red Hat:enterprise_linux:9::appstream | All versions | 0:2.42.6-6.el9_6 |
How do I fix CVE-2025-7345?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-7345 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7345 exists.
Sources
Also known as ALSA-2025:13315, AZL-65034, AZL-65048, BELL-CVE-2025-7345, CLSA-2025-1757662747, CLSA-2025-1757698525 and 23 more.