Gdk‑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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-7345
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 01:50 UTC · Revision 1
Source evidence
Gdk‑pixbuf: heap‑buffer‑overflow in gdk‑pixbuf
core-osv · Original sourcePublished 8 Jul 2025, 13:39 UTC
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.
osv:CVE-2025-7345
Complete source record
{
"id": "db5d1fd27668226ccf44a3c1cdbd29df329cdd109a088591289c69ee1f923be6",
"url": "https://osv.dev/vulnerability/CVE-2025-7345",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Gdk‑pixbuf: heap‑buffer‑overflow in gdk‑pixbuf",
"summary": "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.",
"evidence": "osv:CVE-2025-7345",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-7345",
"aliases": [
"CVE-2025-7345"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.gnome.org/gnome/gdk-pixbuf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "ec3af717f524eac0a6403449d8b7781c93c3798e"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2.43.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"2.42.12",
"2.42.11",
"2.42.10",
"2.42.9",
"2.42.8",
"2.42.6",
"2.42.4",
"2.42.2",
"2.42.0",
"2.40.0",
"2.39.2",
"2.38.0",
"2.37.92",
"2.37.0",
"2.36.12",
"2.36.11",
"2.36.10",
"2.36.9",
"2.36.8",
"2.36.7",
"2.36.6",
"2.36.5",
"2.36.4",
"2.36.3",
"2.36.2",
"2.36.1",
"2.36.0",
"2.35.5",
"2.35.4",
"2.35.3",
"2.35.2",
"2.35.1",
"2.34.0",
"2.33.2",
"2.33.1",
"2.32.1",
"2.32.0",
"2.31.7",
"2.31.6",
"2.31.5",
"2.31.4",
"2.31.3",
"2.31.2",
"2.31.1",
"2.31.0",
"2.30.8",
"2.30.7",
"2.30.6",
"2.30.5",
"2.30.4",
"2.30.3",
"2.30.2",
"2.30.1",
"2.30.0",
"2.29.3",
"2.29.2",
"2.29.1",
"2.29.0",
"2.28.0",
"2.27.3",
"2.27.2",
"2.27.1",
"2.27.0",
"2.26.5",
"2.26.4",
"2.26.3",
"2.26.2",
"2.26.1",
"2.26.0",
"2.25.2",
"2.25.0",
"2.24.0",
"2.23.5",
"2.23.4",
"2.23.3",
"2.23.2",
"2.23.1",
"2.23.0",
"2.22.1",
"2.22.0",
"2.21.7",
"2.21.6",
"2.21.4",
"2.21.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-7345.json"
}
}
],
"modified": "2026-10-28T02:30:32.506081983Z",
"provider": "osv",
"references": [
"https://access.redhat.com/downloads/content/package-browser/",
"https://gitlab.gnome.org/GNOME/",
"https://lists.debian.org/debian-lts-announce/2025/10/msg00024.html",
"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://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7345.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-7345",
"https://bugzilla.redhat.com/show_bug.cgi?id=2377063",
"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/249"
],
"provider_metadata": {
"cwe_ids": [
"CWE-120"
],
"cna_assigner": "redhat",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:2.42.12-4.el10_0"
},
{
"fixed": "0:2.36.12-4.el7_9"
},
{
"fixed": "0:2.36.12-7.el8_10"
},
{
"fixed": "0:2.36.12-7.el8_10"
},
{
"fixed": "0:2.36.12-6.el8_2"
},
{
"fixed": "0:2.36.12-6.el8_4"
},
{
"fixed": "0:2.36.12-6.el8_4"
},
{
"fixed": "0:2.36.12-6.el8_6"
},
{
"fixed": "0:2.36.12-6.el8_6"
},
{
"fixed": "0:2.36.12-6.el8_6"
},
{
"fixed": "0:2.36.12-6.el8_8"
},
{
"fixed": "0:2.36.12-6.el8_8"
},
{
"fixed": "0:2.42.6-6.el9_6"
},
{
"fixed": "0:2.42.6-3.el9_0"
},
{
"fixed": "0:2.42.6-4.el9_2"
},
{
"fixed": "0:2.42.6-5.el9_4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/7xxx/CVE-2025-7345.json"
}
},
"related_cves": [
{
"value": "CVE-2025-7345",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 499497,
"published_at": "2025-07-08T13:39:07.949+00:00"
}