CVE-2025-7345Gdk‑pixbuf: heap‑buffer‑overflow in gdk‑pixbuf
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | gdk-pixbuf | Fixed | 2.42.12+dfsg-4build1 | UBUNTU-CVE-2025-7345 |
| Ubuntu 24.04 | gdk-pixbuf | Fixed | 2.42.10+dfsg-3ubuntu3.2 | UBUNTU-CVE-2025-7345 |
| Ubuntu 22.04 | gdk-pixbuf | Fixed | 2.42.8+dfsg-1ubuntu0.4 | UBUNTU-CVE-2025-7345 |
| Ubuntu 20.04 | gdk-pixbuf | Fix pending | 2.40.0+dfsg-3ubuntu0.5+esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-7345 |
| Ubuntu 18.04 | gdk-pixbuf | Fix pending | 2.36.11-2ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-7345 |
| Ubuntu 16.04 | gdk-pixbuf | Fix pending | 2.32.2-1ubuntu1.6+esm2 (Ubuntu Pro) | UBUNTU-CVE-2025-7345 |
| Debian 14 | gdk-pixbuf | Fixed | 2.42.12+dfsg-4 | DEBIAN-CVE-2025-7345 |
| Debian 13 | gdk-pixbuf | Fixed | 2.42.12+dfsg-4 | DEBIAN-CVE-2025-7345 |
| Debian 12 | gdk-pixbuf | Fixed | 2.42.10+dfsg-1+deb12u3 | DEBIAN-CVE-2025-7345 |
| Red Hat Enterprise Linux 10 | gdk-pixbuf2 | Fixed | 0:2.42.12-4.el10_0 | RHSA-2025:12862 |
| Red Hat Enterprise Linux 10 | gdk-pixbuf2-devel | Fixed | 0:2.42.12-4.el10_0 | RHSA-2025:12862 |
| Red Hat Enterprise Linux 10 | gdk-pixbuf2-modules | Fixed | 0:2.42.12-4.el10_0 | RHSA-2025:12862 |
| Red Hat Enterprise Linux 9 | gdk-pixbuf2 | Fixed | 0:2.42.6-6.el9_6 | RHSA-2025:12841 |
| Red Hat Enterprise Linux 9 | gdk-pixbuf2-devel | Fixed | 0:2.42.6-6.el9_6 | RHSA-2025:12841 |
| Red Hat Enterprise Linux 9 | gdk-pixbuf2-modules | Fixed | 0:2.42.6-6.el9_6 | RHSA-2025:12841 |
| Red Hat Enterprise Linux 8 | gdk-pixbuf2 | Fixed | 0:2.36.12-7.el8_10 | RHSA-2025:13315 |
| Red Hat Enterprise Linux 8 | gdk-pixbuf2-devel | Fixed | 0:2.36.12-7.el8_10 | RHSA-2025:13315 |
| Red Hat Enterprise Linux 8 | gdk-pixbuf2-modules | Fixed | 0:2.36.12-7.el8_10 | RHSA-2025:13315 |
| Red Hat Enterprise Linux 8 | gdk-pixbuf2-xlib | Fixed | 0:2.36.12-7.el8_10 | RHSA-2025:13315 |
| Red Hat Enterprise Linux 8 | gdk-pixbuf2-xlib-devel | Fixed | 0:2.36.12-7.el8_10 | RHSA-2025:13315 |
| Red Hat Enterprise Linux 6 | gdk-pixbuf2 | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gdk-pixbuf2-devel | Will not fix Out of support scope | ||
| AlmaLinux 8 | gdk-pixbuf2 | Fixed | 2.36.12-7.el8_10 | ALSA-2025:13315 |
| AlmaLinux 8 | gdk-pixbuf2-devel | Fixed | 2.36.12-7.el8_10 | ALSA-2025:13315 |
| AlmaLinux 8 | gdk-pixbuf2-modules | Fixed | 2.36.12-7.el8_10 | ALSA-2025:13315 |
| AlmaLinux 8 | gdk-pixbuf2-xlib | Fixed | 2.36.12-7.el8_10 | ALSA-2025:13315 |
| AlmaLinux 8 | gdk-pixbuf2-xlib-devel | Fixed | 2.36.12-7.el8_10 | ALSA-2025:13315 |
| Rocky Linux 10 | gdk-pixbuf2 | Fixed | 0:2.42.12-4.el10_0 | RLSA-2025:12862 |
| Rocky Linux 9 | gdk-pixbuf2 | Fixed | 0:2.42.6-6.el9_6 | RLSA-2025:12841 |
| Rocky Linux 8 | gdk-pixbuf2 | Fixed | 0:2.36.12-7.el8_10 | RLSA-2025:13315 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- gdk-pixbuf: affected: before 2.43.4; fixed in
2.43.4 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 7 Extended Lifecycle Support
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 8.2 Advanced Update Support
- Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
- Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- Red Hat Enterprise Linux 8.6 Telecommunications Update Service
- Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
- Red Hat Enterprise Linux 8.8 Telecommunications Update Service
- Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2025:12841 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:12862 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:13315 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:14574 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:14575 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:14576 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2025:12841
- https://access.redhat.com/errata/RHSA-2025:12862
- https://access.redhat.com/errata/RHSA-2025:13315
- https://access.redhat.com/errata/RHSA-2025:14574
- https://access.redhat.com/errata/RHSA-2025:14575
- https://access.redhat.com/errata/RHSA-2025:14576
- https://access.redhat.com/errata/RHSA-2025:14585
- https://access.redhat.com/errata/RHSA-2025:14618
- https://access.redhat.com/errata/RHSA-2025:14646
- https://access.redhat.com/errata/RHSA-2025:14647
- https://access.redhat.com/errata/RHSA-2025:14683
- https://access.redhat.com/security/cve/CVE-2025-7345
- https://bugzilla.redhat.com/show_bug.cgi?id=2377063
- https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/249
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.