CVE-2025-7345
Gdk‑pixbuf: heap‑buffer‑overflow in gdk‑pixbuf
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.86%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 79.7% of all scored CVEs. Scores of 26 Nov 2026.
The assessment of CISA (SSVC, 8 Jul 2025):
- Exploitation
- poc: a proof of concept is public
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-120 Buffer Copy without Checking Size of Input
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
gdk-pixbuf
package
gdk-pixbuf |
affected before 2.43.4
Other versions: unaffected
|
|
Red Hat Enterprise Linux 10
package
gdk-pixbuf2 |
unaffected 0:2.42.12-4.el10_0 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package
gdk-pixbuf2 |
unaffected 0:2.36.12-4.el7_9 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
gdk-pixbuf2 |
unaffected 0:2.36.12-7.el8_10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
gdk-pixbuf2 |
unaffected 0:2.36.12-7.el8_10 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.2 Advanced Update Support
package
gdk-pixbuf2 |
unaffected 0:2.36.12-6.el8_2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
gdk-pixbuf2 |
unaffected 0:2.36.12-6.el8_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package
gdk-pixbuf2 |
unaffected 0:2.36.12-6.el8_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
gdk-pixbuf2 |
unaffected 0:2.36.12-6.el8_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Telecommunications Update Service
package
gdk-pixbuf2 |
unaffected 0:2.36.12-6.el8_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
package
gdk-pixbuf2 |
unaffected 0:2.36.12-6.el8_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package
gdk-pixbuf2 |
unaffected 0:2.36.12-6.el8_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package
gdk-pixbuf2 |
unaffected 0:2.36.12-6.el8_8 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
gdk-pixbuf2 |
unaffected 0:2.42.6-6.el9_6 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
package
gdk-pixbuf2 |
unaffected 0:2.42.6-3.el9_0 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package
gdk-pixbuf2 |
unaffected 0:2.42.6-4.el9_2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.4 Extended Update Support
package
gdk-pixbuf2 |
unaffected 0:2.42.6-5.el9_4 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 6
package
gdk-pixbuf2 |
unknown the record does not list versions
|
Is my server affected?
Find the installed version of gdk-pixbuf2 and compare it with the fixed version of your distribution. Distributions often fix a CVE in their own package version, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i gdk-pixbuf2
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-7345 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-7345RHEL, Rocky, Alma, Fedora
rpm -q gdk-pixbuf2
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-7345Alpine
apk list --installed | grep -i gdk-pixbuf2With Trivy, on the host and for a container image; it prints the installed and the fixed version when a package is affected:
trivy rootfs --scanners vuln / | grep CVE-2025-7345
trivy image --scanners vuln IMAGE | grep CVE-2025-7345
Patchbrief matches the package lists of your Linux servers and containers every day against the Trivy vulnerability database, which covers the packages of Linux distributions and language packages (npm, PyPI, Go, Maven and others), and sends one digest with the command that fixes each problem. Install the agent.
References
Advisories
- RHSA-2025:12841 access.redhat.com · vendor advisory
- RHSA-2025:12862 access.redhat.com · vendor advisory
- RHSA-2025:13315 access.redhat.com · vendor advisory
- RHSA-2025:14574 access.redhat.com · vendor advisory
- RHSA-2025:14575 access.redhat.com · vendor advisory
- RHSA-2025:14576 access.redhat.com · vendor advisory
- RHSA-2025:14585 access.redhat.com · vendor advisory
- RHSA-2025:14618 access.redhat.com · vendor advisory
- RHSA-2025:14646 access.redhat.com · vendor advisory
- RHSA-2025:14647 access.redhat.com · vendor advisory
- RHSA-2025:14683 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2025-7345 access.redhat.com · vdb entry
- RHBZ#2377063 bugzilla.redhat.com · issue tracking
Other references
- https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/249 gitlab.gnome.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00024.html lists.debian.org
Source: the record CVE-2025-7345 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.