Vulnerability · Published Jul 8, 2025 · Assigned by redhat
CVE-2025-7345Gdk‑pixbuf: heap‑buffer‑overflow in gdk‑pixbuf
High 7.5
In plain English
A high-severity buffer overflow in gdk-pixbuf. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | gdk-pixbuf2 | 2.36.12-7.el8_10 | ALSA-2025:13315 |
| AlmaLinux:8 | gdk-pixbuf2-devel | 2.36.12-7.el8_10 | ALSA-2025:13315 |
| AlmaLinux:8 | gdk-pixbuf2-modules | 2.36.12-7.el8_10 | ALSA-2025:13315 |
| AlmaLinux:8 | gdk-pixbuf2-xlib | 2.36.12-7.el8_10 | ALSA-2025:13315 |
| AlmaLinux:8 | gdk-pixbuf2-xlib-devel | 2.36.12-7.el8_10 | ALSA-2025:13315 |
| Debian:12 | gdk-pixbuf | 2.42.10+dfsg-1+deb12u3 | DEBIAN-CVE-2025-7345 |
| Debian:13 | gdk-pixbuf | 2.42.12+dfsg-4 | DEBIAN-CVE-2025-7345 |
| Debian:14 | gdk-pixbuf | 2.42.12+dfsg-4 | DEBIAN-CVE-2025-7345 |
| Rocky Linux:10 | gdk-pixbuf2 | 0:2.42.12-4.el10_0 | RLSA-2025:12862 |
| Rocky Linux:8 | gdk-pixbuf2 | 0:2.36.12-7.el8_10 | RLSA-2025:13315 |
| Rocky Linux:9 | gdk-pixbuf2 | 0:2.42.6-6.el9_6 | RLSA-2025:12841 |
| Ubuntu:22.04:LTS | gdk-pixbuf | 2.42.8+dfsg-1ubuntu0.4 | USN-7662-1 |
| Ubuntu:22.04:LTS | gdk-pixbuf | 2.42.8+dfsg-1ubuntu0.4 | UBUNTU-CVE-2025-7345 |
| Ubuntu:24.04:LTS | gdk-pixbuf | 2.42.10+dfsg-3ubuntu3.2 | UBUNTU-CVE-2025-7345 |
| Ubuntu:24.04:LTS | gdk-pixbuf | 2.42.10+dfsg-3ubuntu3.2 | USN-7662-1 |
| Ubuntu:25.10 | gdk-pixbuf | 2.42.12+dfsg-4build1 | UBUNTU-CVE-2025-7345 |
Affected products (as reported)
Weakness: CWE-120 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- RHSA-2025:12841 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:12862 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:13315 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14574 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14575 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14576 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14585 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14618 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14646 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14647 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:14683 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-7345 vdb-entry, x_refsource_REDHAT
- RHBZ#2377063 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/249
- https://lists.debian.org/debian-lts-announce/2025/10/msg00024.html