Skip to main content
Public proof of conceptFix available

CVE-2025-7345

Gdk‑pixbuf: heap‑buffer‑overflow in gdk‑pixbuf

A public proof of concept exists; no exploitation attested.

  • Published2025-07-08
  • WeaknessCWE-120

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-07-0813:39CVE publishedCNA

Versions per branch

Products declared by the CNA17 products

As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

11 more products in the CVE record.

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-11-05

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • gdk-pixbufUbuntu:Pro:20.04:LTSall versions · fixed in 2.40.0+dfsg-3ubuntu0.5+esm1
  • gdk-pixbufUbuntu:Pro:18.04:LTSall versions · fixed in 2.36.11-2ubuntu0.1~esm2
  • gdk-pixbufUbuntu:Pro:16.04:LTSall versions · fixed in 2.32.2-1ubuntu1.6+esm2
  • gdk-pixbufUbuntu:25.10all versions · fixed in 2.42.12+dfsg-4build1
  • gdk-pixbufUbuntu:24.04:LTSall versions · fixed in 2.42.10+dfsg-3ubuntu3.2
  • gdk-pixbufUbuntu:22.04:LTSall versions · fixed in 2.42.8+dfsg-1ubuntu0.4
  • gdk-pixbufSUSE:Manager Server LTS 4.3all versions · fixed in 2.42.12-150400.5.14.1
  • gdk-pixbufSUSE:Manager Proxy LTS 4.3all versions · fixed in 2.42.12-150400.5.14.1

78 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-7345 Red Hat Product Security651 products fixed · 3 known affected

    gdk‑pixbuf: Heap‑buffer‑overflow in gdk‑pixbuf

    gdk-pixbuf2 as a component of Red Hat Enterprise Linux 6 · gdk-pixbuf2-devel as a component of Red Hat Enterprise Linux 6 · gdk-pixbuf2.src as a component of Red Hat Enterprise Linux 6

  • RHSA-2025:14683 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: gdk-pixbuf2 security update

  • RHSA-2025:14647 Red Hat Product Security62 products fixed

    Red Hat Security Advisory: gdk-pixbuf2 security update

  • RHSA-2025:14646 Red Hat Product Security138 products fixed

    Red Hat Security Advisory: gdk-pixbuf2 security update

  • RHSA-2025:14618 Red Hat Product Security31 products fixed

    Red Hat Security Advisory: gdk-pixbuf2 security update

  • RHSA-2025:14585 Red Hat Product Security77 products fixed

    Red Hat Security Advisory: gdk-pixbuf2 security update

6 more advisories

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2025:14683 · 30 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Workaround from the vendor Red Hat Product Security RHSA-2025:14683 · 30 productsMitigation 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.

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2025-07-08
Last Modified
2026-11-05
NVD status
Deferred
GitHub Advisory
GHSA-xrq2-m5w8-p5wg

Frequently asked questions

What is CVE-2025-7345?

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.

Is CVE-2025-7345 actively exploited?

A proof-of-concept exploit exists for CVE-2025-7345, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-7345?

CVE-2025-7345 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running gdk‑pixbuf? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record