Gdk‑pixbuf: heap‑buffer‑overflow in gdk‑pixbuf
Summary
| CVE | CVE-2025-7345 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-07-08 14:15:32 UTC |
| Updated | 2026-06-30 02:16:25 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.010510000 probability, percentile 0.600900000 (date 2026-07-01)
Problem Types: CWE-120 | CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2025/10/msg00024.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| access.redhat.com/errata/RHSA-2025:13315 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:14585 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:14618 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:14647 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:14646 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:14574 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:14575 | [email protected] | access.redhat.com | |
| access.redhat.com/security/cve/CVE-2025-7345 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:14576 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:12862 | [email protected] | access.redhat.com | |
| gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/249 | [email protected] | gitlab.gnome.org | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| access.redhat.com/errata/RHSA-2025:12841 | [email protected] | access.redhat.com | |
| access.redhat.com/errata/RHSA-2025:14683 | [email protected] | access.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Yifan Zhang (Programming Languages Lab, Peking University) for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2025-07-08T05:57:08.229Z | Reported to Red Hat. |
| CNA | 2025-07-08T00:00:00.000Z | Made public. |
Workarounds
CNA: 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.
There are currently no legacy QID mappings associated with this CVE.