CVEfocus › CVE database › CVE-2025-7345

CVE-2025-7345Gdk‑pixbuf: heap‑buffer‑overflow in gdk‑pixbuf

CVSS 7.5 HighEPSS 1.3% (higher than 72% of CVEs)Published 2025-07-08Updated 2026-11-05Assigner: redhat

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.

CWE-120

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

25Fixed
3Fix pending
2Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10gdk-pixbufFixed2.42.12+dfsg-4build1UBUNTU-CVE-2025-7345
Ubuntu 24.04gdk-pixbufFixed2.42.10+dfsg-3ubuntu3.2UBUNTU-CVE-2025-7345
Ubuntu 22.04gdk-pixbufFixed2.42.8+dfsg-1ubuntu0.4UBUNTU-CVE-2025-7345
Ubuntu 20.04gdk-pixbufFix pending2.40.0+dfsg-3ubuntu0.5+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-7345
Ubuntu 18.04gdk-pixbufFix pending2.36.11-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2025-7345
Ubuntu 16.04gdk-pixbufFix pending2.32.2-1ubuntu1.6+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-7345
Debian 14gdk-pixbufFixed2.42.12+dfsg-4DEBIAN-CVE-2025-7345
Debian 13gdk-pixbufFixed2.42.12+dfsg-4DEBIAN-CVE-2025-7345
Debian 12gdk-pixbufFixed2.42.10+dfsg-1+deb12u3DEBIAN-CVE-2025-7345
Red Hat Enterprise Linux 10gdk-pixbuf2Fixed0:2.42.12-4.el10_0RHSA-2025:12862
Red Hat Enterprise Linux 10gdk-pixbuf2-develFixed0:2.42.12-4.el10_0RHSA-2025:12862
Red Hat Enterprise Linux 10gdk-pixbuf2-modulesFixed0:2.42.12-4.el10_0RHSA-2025:12862
Red Hat Enterprise Linux 9gdk-pixbuf2Fixed0:2.42.6-6.el9_6RHSA-2025:12841
Red Hat Enterprise Linux 9gdk-pixbuf2-develFixed0:2.42.6-6.el9_6RHSA-2025:12841
Red Hat Enterprise Linux 9gdk-pixbuf2-modulesFixed0:2.42.6-6.el9_6RHSA-2025:12841
Red Hat Enterprise Linux 8gdk-pixbuf2Fixed0:2.36.12-7.el8_10RHSA-2025:13315
Red Hat Enterprise Linux 8gdk-pixbuf2-develFixed0:2.36.12-7.el8_10RHSA-2025:13315
Red Hat Enterprise Linux 8gdk-pixbuf2-modulesFixed0:2.36.12-7.el8_10RHSA-2025:13315
Red Hat Enterprise Linux 8gdk-pixbuf2-xlibFixed0:2.36.12-7.el8_10RHSA-2025:13315
Red Hat Enterprise Linux 8gdk-pixbuf2-xlib-develFixed0:2.36.12-7.el8_10RHSA-2025:13315
Red Hat Enterprise Linux 6gdk-pixbuf2Will not fix
Out of support scope
Red Hat Enterprise Linux 6gdk-pixbuf2-develWill not fix
Out of support scope
AlmaLinux 8gdk-pixbuf2Fixed2.36.12-7.el8_10ALSA-2025:13315
AlmaLinux 8gdk-pixbuf2-develFixed2.36.12-7.el8_10ALSA-2025:13315
AlmaLinux 8gdk-pixbuf2-modulesFixed2.36.12-7.el8_10ALSA-2025:13315
AlmaLinux 8gdk-pixbuf2-xlibFixed2.36.12-7.el8_10ALSA-2025:13315
AlmaLinux 8gdk-pixbuf2-xlib-develFixed2.36.12-7.el8_10ALSA-2025:13315
Rocky Linux 10gdk-pixbuf2Fixed0:2.42.12-4.el10_0RLSA-2025:12862
Rocky Linux 9gdk-pixbuf2Fixed0:2.42.6-6.el9_6RLSA-2025:12841
Rocky Linux 8gdk-pixbuf2Fixed0:2.36.12-7.el8_10RLSA-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.

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:

References

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.